From 85ef47ae0c2c02a5870b764ca4b0da0d9e01671f Mon Sep 17 00:00:00 2001 From: Kenzie Togami Date: Sat, 19 Nov 2016 21:04:05 -0800 Subject: [PATCH] [Forge] Update mappings to 11/30. --- worldedit-forge/build.gradle | 4 ++-- .../main/java/com/sk89q/worldedit/forge/ForgePlatform.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/worldedit-forge/build.gradle b/worldedit-forge/build.gradle index c69019b14..50dadfcda 100644 --- a/worldedit-forge/build.gradle +++ b/worldedit-forge/build.gradle @@ -26,11 +26,11 @@ repositories { } } -ext.forgeVersion = "13.19.0.2149" +ext.forgeVersion = "13.19.0.2177" minecraft { version = "1.11-${project.forgeVersion}" - mappings = "snapshot_20161118" + mappings = "snapshot_20161130" runDir = 'run' replaceIn "com/sk89q/worldedit/forge/ForgeWorldEdit.java" diff --git a/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgePlatform.java b/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgePlatform.java index d84f53b89..2ddf75c51 100644 --- a/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgePlatform.java +++ b/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgePlatform.java @@ -93,7 +93,7 @@ class ForgePlatform extends AbstractPlatform implements MultiUserPlatform { @Override public boolean isValidMobType(String type) { - return EntityList.isStringValidEntityName(new ResourceLocation(type)); + return EntityList.isRegistered(new ResourceLocation(type)); } @Override