Skip to content

Commit

Permalink
update for new spigot mappings handler
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jan 5, 2019
1 parent 436b4eb commit cf9177b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/src/main/java/net/aufdemrand/denizen/Denizen.java
Expand Up @@ -347,7 +347,7 @@ public void onEnable() {

String mappingsCode = NMSHandler.getInstance().getNmsMappingsCode();
if (mappingsCode != null) {
if (!CraftMagicNumbers.MAPPINGS_VERSION.equals(mappingsCode)) {
if (!((CraftMagicNumbers) CraftMagicNumbers.INSTANCE).getMappingsVersion().equals(mappingsCode)) {
getLogger().warning("-------------------------------------");
getLogger().warning("This build of Denizen was built for a different Spigot revision! This may potentially cause issues."
+ " If you are experiencing trouble, update Denizen and Spigot both to latest builds!"
Expand Down

0 comments on commit cf9177b

Please sign in to comment.