Fixed some typos in the commands
This commit is contained in:
@@ -90,7 +90,7 @@ public class DisguiseCommand implements CommandExecutor {
|
||||
+ " isn't true or false!");
|
||||
return true;
|
||||
}
|
||||
adult = args[1].equalsIgnoreCase("false");
|
||||
adult = args[1].equalsIgnoreCase("false"); // Adult = !arg
|
||||
}
|
||||
disguise = new MobDisguise(disguiseType, adult);
|
||||
} else if (disguiseType.isMisc()) {
|
||||
|
@@ -95,7 +95,7 @@ public class DisguiseEntityCommand implements CommandExecutor {
|
||||
+ " isn't true or false!");
|
||||
return true;
|
||||
}
|
||||
adult = args[1].equalsIgnoreCase("false");
|
||||
adult = args[1].equalsIgnoreCase("false"); // Adult = !arg
|
||||
}
|
||||
disguise = new MobDisguise(disguiseType, adult);
|
||||
} else if (disguiseType.isMisc()) {
|
||||
|
@@ -96,7 +96,7 @@ public class DisguisePlayerCommand implements CommandExecutor {
|
||||
+ " isn't true or false!");
|
||||
return true;
|
||||
}
|
||||
adult = args[1].equalsIgnoreCase("false");
|
||||
adult = args[2].equalsIgnoreCase("false"); // Adult = !arg
|
||||
}
|
||||
disguise = new MobDisguise(disguiseType, adult);
|
||||
} else if (disguiseType.isMisc()) {
|
||||
|
@@ -104,7 +104,7 @@ public class DisguiseRadiusCommand implements CommandExecutor {
|
||||
+ " isn't true or false!");
|
||||
return true;
|
||||
}
|
||||
adult = args[1].equalsIgnoreCase("false");
|
||||
adult = args[2].equalsIgnoreCase("false"); // Adult = !arg
|
||||
}
|
||||
disguise = new MobDisguise(disguiseType, adult);
|
||||
} else if (disguiseType.isMisc()) {
|
||||
|
Reference in New Issue
Block a user