Added setUpsideDown to PlayerWatcher

This commit is contained in:
libraryaddict
2020-05-10 16:38:36 +12:00
parent 71dbaeebf5
commit e8c7a48c47
3 changed files with 9 additions and 5 deletions

View File

@@ -145,10 +145,6 @@ public class ParamInfoManager {
if (watcherClass == PlayerWatcher.class) {
try {
methods.add(PlayerDisguise.class.getMethod("setDynamicName", boolean.class));
if (DisguiseConfig.isArmorstandsName()) {
methods.add(PlayerDisguise.class.getMethod("setUpsideDown", boolean.class));
}
}
catch (NoSuchMethodException e) {
e.printStackTrace();