From 6f15938dae2b8c3bc05f9faf048f44366481e0de Mon Sep 17 00:00:00 2001 From: riking Date: Wed, 23 Jul 2014 13:00:38 -0700 Subject: [PATCH] Use contains instead of equals........ --- src/me/libraryaddict/disguise/utilities/ReflectionManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/utilities/ReflectionManager.java b/src/me/libraryaddict/disguise/utilities/ReflectionManager.java index 9345582a..89c1f127 100644 --- a/src/me/libraryaddict/disguise/utilities/ReflectionManager.java +++ b/src/me/libraryaddict/disguise/utilities/ReflectionManager.java @@ -82,7 +82,7 @@ public class ReflectionManager { */ private static Map>> ForgeMethodMappings; private static final Method ihmGet; - private static final boolean isForge = Bukkit.getServer().getName().equalsIgnoreCase("Cauldron"); + private static final boolean isForge = Bukkit.getServer().getName().contains("Cauldron") || Bukkit.getServer().getName().contains("MCPC-Plus"); private static final Field pingField; private static Map, String> primitiveTypes; private static final Field trackerField;