Fix checkdata command.

This commit is contained in:
garbagemule
2014-01-23 20:24:11 +01:00
parent 2d3ba801d5
commit d866ec50af
3 changed files with 3 additions and 3 deletions
@@ -19,7 +19,7 @@ public class CheckDataCommand implements Command
@Override
public boolean execute(ArenaMaster am, CommandSender sender, String... args) {
Arena arena;
if (args.length == 1) {
if (args.length == 0) {
if (am.getArenas().size() > 1) {
Messenger.tell(sender, "There are multiple arenas.");
return true;
@@ -27,7 +27,7 @@ public class CheckSpawnsCommand implements Command
}
Arena arena;
if (args.length == 1) {
if (args.length == 0) {
if (am.getArenas().size() > 1) {
Messenger.tell(sender, "There are multiple arenas.");
return true;