Fix dynamic name path
This commit is contained in:
		| @@ -114,7 +114,7 @@ public class ParamInfoManager { | ||||
|         // Add these last as it's what we want to present to be called the least | ||||
|         for (String methodName : new String[]{"setSelfDisguiseVisible", "setHideHeldItemFromSelf", | ||||
|                 "setHideArmorFromSelf", "setHearSelfDisguise", "setHidePlayer", "setExpires", "setNotifyBar", | ||||
|                 "setBossBarColor", "setBossBarStyle", "setTallDisguisesVisible"}) { | ||||
|                 "setBossBarColor", "setBossBarStyle", "setTallDisguisesVisible", "setDynamicName"}) { | ||||
|             try { | ||||
|                 Class cl = boolean.class; | ||||
|  | ||||
| @@ -142,15 +142,6 @@ public class ParamInfoManager { | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         if (watcherClass == PlayerWatcher.class) { | ||||
|             try { | ||||
|                 methods.add(PlayerDisguise.class.getMethod("setDynamicName", boolean.class)); | ||||
|             } | ||||
|             catch (NoSuchMethodException e) { | ||||
|                 e.printStackTrace(); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         return methods.toArray(new Method[0]); | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user