Fixed typos, added DisguiseParser.parsetoString(Disguise)

This commit is contained in:
libraryaddict
2019-12-31 19:35:21 +13:00
parent ce1472eaf7
commit 7aa3a8a2ef
54 changed files with 555 additions and 114 deletions

View File

@@ -87,7 +87,7 @@ public class DisguiseCommand extends DisguiseBaseCommand implements TabCompleter
private boolean setViewDisguise(String[] strings) {
for (String string : strings) {
if (!string.equalsIgnoreCase("setViewSelfDisguise"))
if (!string.equalsIgnoreCase("setSelfDisguiseVisible"))
continue;
return true;

View File

@@ -131,7 +131,7 @@ public class DisguisePlayerCommand extends DisguiseBaseCommand implements TabCom
private boolean setViewDisguise(String[] strings) {
for (String string : strings) {
if (!string.equalsIgnoreCase("setViewSelfDisguise"))
if (!string.equalsIgnoreCase("setSelfDisguiseVisible"))
continue;
return true;

View File

@@ -219,7 +219,7 @@ public class DisguiseRadiusCommand extends DisguiseBaseCommand implements TabCom
private boolean setViewDisguise(String[] strings) {
for (String string : strings) {
if (!string.equalsIgnoreCase("setViewSelfDisguise"))
if (!string.equalsIgnoreCase("setSelfDisguiseVisible"))
continue;
return true;