Fix dynamic name path
This commit is contained in:
parent
f6eb0f14b7
commit
7a4cb6b7f0
@ -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]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user