diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-06-15 20:53:28 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-06-15 20:53:28 -0600 |
commit | 34e7a03d283051b81fee60a67170ea22c672f81d (patch) | |
tree | 33123829bc301116d6c6cc817bad9ad4a995d121 /src/net/brysonsteck | |
parent | 9431767c3bd129715a1b45af6c3d0d3cd3e027c2 (diff) | |
download | resurrection-34e7a03d283051b81fee60a67170ea22c672f81d.tar resurrection-34e7a03d283051b81fee60a67170ea22c672f81d.tar.gz resurrection-34e7a03d283051b81fee60a67170ea22c672f81d.tar.bz2 |
restored normal times
Diffstat (limited to 'src/net/brysonsteck')
-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); |