too lazy to wait, doing shorter time tests

This commit is contained in:
Bryson Steck 2021-06-15 20:40:12 -06:00
parent 8b87049d4d
commit 5cc1fe69ba
3 changed files with 3 additions and 3 deletions

View file

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