Fixed typos, added DisguiseParser.parsetoString(Disguise)
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user