diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-06-06 11:06:51 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-06-06 11:06:51 -0600 |
commit | a6193c66185c069db9a8f9f7a7aca570ae55994b (patch) | |
tree | 0f06ecf0ce524e26b9fa6e7e51d405b3f7dcc07a /src/net/brysonsteck/Resurrection.java | |
parent | 18605537f1bb7cd84f4131a9c42002a6973a592c (diff) | |
download | resurrection-a6193c66185c069db9a8f9f7a7aca570ae55994b.tar resurrection-a6193c66185c069db9a8f9f7a7aca570ae55994b.tar.gz resurrection-a6193c66185c069db9a8f9f7a7aca570ae55994b.tar.bz2 |
added a register in resurrection class
Diffstat (limited to 'src/net/brysonsteck/Resurrection.java')
-rw-r--r-- | src/net/brysonsteck/Resurrection.java | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } |