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 /src/net/brysonsteck | |
parent | c1981178a4e03a88084f01a860139d27c173fbbe (diff) | |
download | resurrection-80b00aca964cb6943dbe138a4e2c5c106e14a6f6.tar resurrection-80b00aca964cb6943dbe138a4e2c5c106e14a6f6.tar.gz resurrection-80b00aca964cb6943dbe138a4e2c5c106e14a6f6.tar.bz2 |
is the respawn listener working?
Diffstat (limited to 'src/net/brysonsteck')
-rw-r--r-- | src/net/brysonsteck/Resurrection/PlayerListener.java | 1 |
1 files changed, 1 insertions, 0 deletions
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)); } |