diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-06-15 18:51:39 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-06-15 18:51:39 -0600 |
commit | e7683204ef07bb221853b671e3effb0187fc8340 (patch) | |
tree | 6db4b29f1d6561ea24b87c51efc233929afc4393 | |
parent | d11e749ea0351948a50e4b11673165dee719e387 (diff) | |
download | resurrection-e7683204ef07bb221853b671e3effb0187fc8340.tar resurrection-e7683204ef07bb221853b671e3effb0187fc8340.tar.gz resurrection-e7683204ef07bb221853b671e3effb0187fc8340.tar.bz2 |
removed potion calls in seperate thread
-rw-r--r-- | out/artifacts/Resurrection_jar/Resurrection.jar | bin | 1338433 -> 1338111 bytes | |||
-rw-r--r-- | out/production/Resurrection/net/brysonsteck/Resurrection/player/ResurrectPlayer.class | bin | 1737 -> 1060 bytes | |||
-rw-r--r-- | src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java | 3 |
3 files changed, 0 insertions, 3 deletions
diff --git a/out/artifacts/Resurrection_jar/Resurrection.jar b/out/artifacts/Resurrection_jar/Resurrection.jar Binary files differindex efbcf5b..b8e1c57 100644 --- a/out/artifacts/Resurrection_jar/Resurrection.jar +++ b/out/artifacts/Resurrection_jar/Resurrection.jar diff --git a/out/production/Resurrection/net/brysonsteck/Resurrection/player/ResurrectPlayer.class b/out/production/Resurrection/net/brysonsteck/Resurrection/player/ResurrectPlayer.class Binary files differindex 3c22cc5..2303a25 100644 --- a/out/production/Resurrection/net/brysonsteck/Resurrection/player/ResurrectPlayer.class +++ b/out/production/Resurrection/net/brysonsteck/Resurrection/player/ResurrectPlayer.class diff --git a/src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java b/src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java index 971ada3..b47c6af 100644 --- a/src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java +++ b/src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java @@ -8,9 +8,6 @@ import org.bukkit.potion.PotionEffect; public class ResurrectPlayer { public ResurrectPlayer(Player p) { - for (PotionEffect effect : p.getActivePotionEffects()) - p.removePotionEffect(effect.getType()); - p.setGameMode(GameMode.SURVIVAL); Bukkit.broadcastMessage(p.getDisplayName() + " has resurrected!"); } } |