Added setUpsideDown to PlayerDisguise

This commit is contained in:
libraryaddict
2020-05-10 16:35:29 +12:00
parent 66a66b3638
commit 71dbaeebf5
2 changed files with 56 additions and 22 deletions

View File

@@ -145,6 +145,10 @@ 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();