aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/brysonsteck/Resurrection.java')
-rw-r--r--src/net/brysonsteck/Resurrection.java1
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();
}