forked from SteamWar/SteamWar
Format code
This commit is contained in:
+2
-4
@@ -100,14 +100,12 @@ public class SavePart extends SWCommand {
|
||||
SchematicData.saveFromPlayer(player, node);
|
||||
} catch (NoClipboardException e) {
|
||||
SchematicSystem.MESSAGE.send("COMMAND_SAVE_CLIPBOARD_EMPTY", player);
|
||||
if (newSchem)
|
||||
node.delete();
|
||||
if (newSchem) node.delete();
|
||||
return;
|
||||
} catch (Exception ex) {
|
||||
Bukkit.getLogger().log(Level.SEVERE, "Could not save schematic", ex);
|
||||
SchematicSystem.MESSAGE.send("COMMAND_SAVE_ERROR", player);
|
||||
if (newSchem)
|
||||
node.delete();
|
||||
if (newSchem) node.delete();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user