From 5cc1fe69baf24cc890993cda47d667de4fc3660e Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Tue, 15 Jun 2021 20:40:12 -0600 Subject: too lazy to wait, doing shorter time tests --- src/net/brysonsteck/Resurrection/player/PlayerListener.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/brysonsteck/Resurrection') diff --git a/src/net/brysonsteck/Resurrection/player/PlayerListener.java b/src/net/brysonsteck/Resurrection/player/PlayerListener.java index 38a7c33..4e793f0 100644 --- a/src/net/brysonsteck/Resurrection/player/PlayerListener.java +++ b/src/net/brysonsteck/Resurrection/player/PlayerListener.java @@ -42,7 +42,7 @@ public class PlayerListener implements Listener { } Bukkit.broadcastMessage(ChatColor.YELLOW +""+ ChatColor.BOLD + p.getDisplayName() + " has resurrected!"); } - }.runTaskLater(JavaPlugin.getProvidingPlugin(Resurrection.class), 1728000); + }.runTaskLater(JavaPlugin.getProvidingPlugin(Resurrection.class), 200); } @EventHandler @@ -54,8 +54,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, 1728000, 10, false); - PotionEffect slowness = new PotionEffect(PotionEffectType.SLOW, 1728000, 10, false); + PotionEffect blindness = new PotionEffect(PotionEffectType.BLINDNESS, 100, 10, false); + PotionEffect slowness = new PotionEffect(PotionEffectType.SLOW, 100, 10, false); // invisibility.apply(p); blindness.apply(p); slowness.apply(p); -- cgit v1.2.3