diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/brysonsteck/Resurrection/player/PlayerListener.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/brysonsteck/Resurrection/player/PlayerListener.java b/src/net/brysonsteck/Resurrection/player/PlayerListener.java index 003a26c..c7ca2dc 100644 --- a/src/net/brysonsteck/Resurrection/player/PlayerListener.java +++ b/src/net/brysonsteck/Resurrection/player/PlayerListener.java @@ -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); |