diff --git a/src/main/java/org/kapelle/hardcore_revive/HardcoreRevive.java b/src/main/java/org/kapelle/hardcore_revive/HardcoreRevive.java index 8386ad4..00eaddb 100644 --- a/src/main/java/org/kapelle/hardcore_revive/HardcoreRevive.java +++ b/src/main/java/org/kapelle/hardcore_revive/HardcoreRevive.java @@ -8,9 +8,13 @@ public class HardcoreRevive extends JavaPlugin { @Override public void onEnable() { - this.getLogger().info("hardcore-revive plugin enabled"); + if(this.getServer().isHardcore()){ + dropHead = new DropHead(this); + summonHead = new SummonHead(this); + this.getLogger().info("hardcore-revive plugin enabled."); + }else{ + this.getLogger().info("Not running in hardcore mode. hardcore-revive disabled."); + } - dropHead = new DropHead(this); - summonHead = new SummonHead(this); } } \ No newline at end of file