Skip to content

Commit

Permalink
spawnegg support is newish
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 9, 2017
1 parent ce1cae7 commit efc9267
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
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,9 @@ public void onEnable() {
}
propertyParser.registerProperty(ItemQuantity.class, dItem.class);
propertyParser.registerProperty(ItemSkullskin.class, dItem.class);
propertyParser.registerProperty(ItemSpawnEgg.class, dItem.class);
if (NMSHandler.getVersion().isAtLeast(NMSVersion.v1_9_R2)) {
propertyParser.registerProperty(ItemSpawnEgg.class, dItem.class);
}
propertyParser.registerProperty(ItemUnbreakable.class, dItem.class);
}
catch (Exception e) {
Expand Down

0 comments on commit efc9267

Please sign in to comment.