Fixed some warnings.

This commit is contained in:
TomyLobo
2013-06-22 05:54:28 +02:00
committed by wizjany
parent 5db504aed2
commit 3e875b7936
3 changed files with 6 additions and 12 deletions

View File

@ -225,7 +225,6 @@ public class SchematicCommands {
throw new FilenameResolutionException(dir.getPath(), "Schematics directory invalid or not found.");
}
StringBuilder build = new StringBuilder("Available schematics (Filename (Format)): ");
boolean first = true;
final int sortType = args.hasFlag('d') ? -1 : args.hasFlag('n') ? 1 : 0;
// cleanup file list
@ -248,7 +247,6 @@ public class SchematicCommands {
build.append("\n\u00a79");
SchematicFormat format = SchematicFormat.getFormat(file);
build.append(file.getName()).append(": ").append(format == null ? "Unknown" : format.getName());
first = false;
}
player.print(build.toString());
}