Add isDynamicName for player disguises with mobs custom names that change

This commit is contained in:
libraryaddict
2020-02-05 14:26:55 +13:00
parent a92916f112
commit fd2926241c
3 changed files with 146 additions and 125 deletions

View File

@@ -135,6 +135,7 @@ public class ParamInfoManager {
if (watcherClass == PlayerWatcher.class) {
try {
methods.add(PlayerDisguise.class.getMethod("setNameVisible", boolean.class));
methods.add(PlayerDisguise.class.getMethod("setDynamicName", boolean.class));
}
catch (NoSuchMethodException e) {
e.printStackTrace();