Skip to content

Commit

Permalink
make new event be for 1.11 only!
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 7, 2017
1 parent f07c0e7 commit e991bd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin/src/main/java/net/aufdemrand/denizen/Denizen.java
Expand Up @@ -696,7 +696,9 @@ public void onEnable() {
ScriptEvent.registerScriptEvent(new PlayerPicksUpScriptEvent());
ScriptEvent.registerScriptEvent(new PlayerPlacesBlockScriptEvent());
ScriptEvent.registerScriptEvent(new PlayerPlacesHangingScriptEvent());
ScriptEvent.registerScriptEvent(new PlayerPreparesAnvilCraftScriptEvent());
if (NMSHandler.getVersion().isAtLeast(NMSVersion.v1_11_R1)) {
ScriptEvent.registerScriptEvent(new PlayerPreparesAnvilCraftScriptEvent());
}
ScriptEvent.registerScriptEvent(new PlayerQuitsScriptEvent());
ScriptEvent.registerScriptEvent(new PlayerReceivesMessageScriptEvent());
ScriptEvent.registerScriptEvent(new PlayerRespawnsScriptEvent());
Expand Down

0 comments on commit e991bd3

Please sign in to comment.