From a6193c66185c069db9a8f9f7a7aca570ae55994b Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Sun, 6 Jun 2021 11:06:51 -0600 Subject: added a register in resurrection class --- src/net/brysonsteck/Resurrection.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net/brysonsteck/Resurrection.java') diff --git a/src/net/brysonsteck/Resurrection.java b/src/net/brysonsteck/Resurrection.java index 25008b8..d0925cd 100644 --- a/src/net/brysonsteck/Resurrection.java +++ b/src/net/brysonsteck/Resurrection.java @@ -19,6 +19,7 @@ public class Resurrection extends JavaPlugin { @Override public void onEnable() { super.onEnable(); + this.getServer().getPluginManager().registerEvents(new PlayerListener(), this); System.out.println("Resurrection: I'm alive!"); PlayerListener playerListener = new PlayerListener(); } -- cgit v1.2.3