Improve extended names, normal player disguises now use teams instead of actual player names to better support names changing at will

Added setName to PlayerDisguise disguise options in command
This commit is contained in:
libraryaddict
2020-03-30 20:22:33 +13:00
parent ab5cb8a1f1
commit 901c6ef06f
8 changed files with 292 additions and 197 deletions

View File

@@ -146,6 +146,7 @@ public class ParamInfoManager {
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();