aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-06-06 12:44:23 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-06-06 12:44:23 -0600
commit80b00aca964cb6943dbe138a4e2c5c106e14a6f6 (patch)
tree280fc7fb3d0bff57d356dd13e574463848b1bb9b
parentc1981178a4e03a88084f01a860139d27c173fbbe (diff)
downloadresurrection-80b00aca964cb6943dbe138a4e2c5c106e14a6f6.tar
resurrection-80b00aca964cb6943dbe138a4e2c5c106e14a6f6.tar.gz
resurrection-80b00aca964cb6943dbe138a4e2c5c106e14a6f6.tar.bz2
is the respawn listener working?
-rw-r--r--out/artifacts/Resurrection_jar/Resurrection.jarbin1334014 -> 1334035 bytes
-rw-r--r--out/production/Resurrection/net/brysonsteck/Resurrection/PlayerListener.classbin2450 -> 2486 bytes
-rw-r--r--src/net/brysonsteck/Resurrection/PlayerListener.java1
3 files changed, 1 insertions, 0 deletions
diff --git a/out/artifacts/Resurrection_jar/Resurrection.jar b/out/artifacts/Resurrection_jar/Resurrection.jar
index d78d524..0d15ce2 100644
--- a/out/artifacts/Resurrection_jar/Resurrection.jar
+++ b/out/artifacts/Resurrection_jar/Resurrection.jar
Binary files differ
diff --git a/out/production/Resurrection/net/brysonsteck/Resurrection/PlayerListener.class b/out/production/Resurrection/net/brysonsteck/Resurrection/PlayerListener.class
index afd2680..29bf8ec 100644
--- a/out/production/Resurrection/net/brysonsteck/Resurrection/PlayerListener.class
+++ b/out/production/Resurrection/net/brysonsteck/Resurrection/PlayerListener.class
Binary files differ
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));
}