From 80b00aca964cb6943dbe138a4e2c5c106e14a6f6 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Sun, 6 Jun 2021 12:44:23 -0600 Subject: is the respawn listener working? --- src/net/brysonsteck/Resurrection/PlayerListener.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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)); } -- cgit v1.2.3