mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-02 03:16:41 +00:00
Fixed some warnings.
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user