diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-06-06 12:44:23 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-06-06 12:44:23 -0600 |
commit | 80b00aca964cb6943dbe138a4e2c5c106e14a6f6 (patch) | |
tree | 280fc7fb3d0bff57d356dd13e574463848b1bb9b | |
parent | c1981178a4e03a88084f01a860139d27c173fbbe (diff) | |
download | resurrection-80b00aca964cb6943dbe138a4e2c5c106e14a6f6.tar resurrection-80b00aca964cb6943dbe138a4e2c5c106e14a6f6.tar.gz resurrection-80b00aca964cb6943dbe138a4e2c5c106e14a6f6.tar.bz2 |
is the respawn listener working?
-rw-r--r-- | out/artifacts/Resurrection_jar/Resurrection.jar | bin | 1334014 -> 1334035 bytes | |||
-rw-r--r-- | out/production/Resurrection/net/brysonsteck/Resurrection/PlayerListener.class | bin | 2450 -> 2486 bytes | |||
-rw-r--r-- | src/net/brysonsteck/Resurrection/PlayerListener.java | 1 |
3 files changed, 1 insertions, 0 deletions
diff --git a/out/artifacts/Resurrection_jar/Resurrection.jar b/out/artifacts/Resurrection_jar/Resurrection.jar Binary files differindex d78d524..0d15ce2 100644 --- a/out/artifacts/Resurrection_jar/Resurrection.jar +++ b/out/artifacts/Resurrection_jar/Resurrection.jar diff --git a/out/production/Resurrection/net/brysonsteck/Resurrection/PlayerListener.class b/out/production/Resurrection/net/brysonsteck/Resurrection/PlayerListener.class Binary files differindex afd2680..29bf8ec 100644 --- a/out/production/Resurrection/net/brysonsteck/Resurrection/PlayerListener.class +++ b/out/production/Resurrection/net/brysonsteck/Resurrection/PlayerListener.class diff --git a/src/net/brysonsteck/Resurrection/PlayerListener.java b/src/net/brysonsteck/Resurrection/PlayerListener.java index 46e909a..7eb8892 100644 --- a/src/net/brysonsteck/Resurrection/PlayerListener.java +++ b/src/net/brysonsteck/Resurrection/PlayerListener.java @@ -37,6 +37,7 @@ public class PlayerListener implements Listener { @EventHandler public void onPlayerRespawn(PlayerRespawnEvent e) { Player p = e.getPlayer(); + p.sendMessage("You have respawned"); p.addPotionEffect(new PotionEffect(PotionEffectType.SLOW,1000000000, 500)); p.addPotionEffect(new PotionEffect(PotionEffectType.BLINDNESS, 1000000000, 500)); } |