restored normal times

This commit is contained in:
Bryson Steck 2021-06-15 20:53:28 -06:00
parent 9431767c3b
commit 34e7a03d28
2 changed files with 3 additions and 3 deletions

View file

@ -45,7 +45,7 @@ public class PlayerListener implements Listener {
}
Bukkit.broadcastMessage(ChatColor.YELLOW +""+ ChatColor.BOLD + p.getDisplayName() + " has resurrected!");
}
}.runTaskLater(JavaPlugin.getProvidingPlugin(Resurrection.class), 200);
}.runTaskLater(JavaPlugin.getProvidingPlugin(Resurrection.class), 1728000);
}
@EventHandler
@ -59,8 +59,8 @@ public class PlayerListener implements Listener {
public void run() {
spawn = p.getLocation();
// PotionEffect invisibility = new PotionEffect(PotionEffectType.INVISIBILITY, 1728000, 10, false);
PotionEffect blindness = new PotionEffect(PotionEffectType.BLINDNESS, 100, 10, false);
PotionEffect slowness = new PotionEffect(PotionEffectType.SLOW, 100, 10, false);
PotionEffect blindness = new PotionEffect(PotionEffectType.BLINDNESS, 999999999, 10, false);
PotionEffect slowness = new PotionEffect(PotionEffectType.SLOW, 999999999, 10, false);
// invisibility.apply(p);
blindness.apply(p);
slowness.apply(p);