Add setName and setNameVisible to PlayerWatcher

This commit is contained in:
libraryaddict
2020-04-17 23:11:11 +12:00
parent 15d3bc2828
commit 63e84973fe
3 changed files with 19 additions and 3 deletions

View File

@@ -144,9 +144,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));
methods.add(PlayerDisguise.class.getMethod("setName", String.class));
}
catch (NoSuchMethodException e) {
e.printStackTrace();