From 3b151dfa8e538a7cbd3e076daed5cb76a7a5366d Mon Sep 17 00:00:00 2001 From: abhiram Date: Fri, 26 Mar 2021 23:40:38 +0530 Subject: [PATCH] Code style change to K&r! --- .../simplexdev/simplexcore/structures/Structure.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/main/java/io/github/simplexdev/simplexcore/structures/Structure.java b/src/main/java/io/github/simplexdev/simplexcore/structures/Structure.java index c5528d7..deb59c8 100644 --- a/src/main/java/io/github/simplexdev/simplexcore/structures/Structure.java +++ b/src/main/java/io/github/simplexdev/simplexcore/structures/Structure.java @@ -23,23 +23,19 @@ public final class Structure { private HashMap nbtBlocks = new HashMap<>(); private HashMap blocks = new HashMap<>(); - public Structure(SimplexModule plugin,File schematic) - { + public Structure(SimplexModule plugin,File schematic) { this.plugin = plugin.getPlugin(); this.schematic = schematic; } - public void load() throws InvalidSchematic - { + public void load() throws InvalidSchematic { } - public void paste(Location loc,PasteType pasteType) throws SchematicNotLoaded - { + public void paste(Location loc,PasteType pasteType) throws SchematicNotLoaded { if (width == 0 || height == 0 || length == 0 || blocks.isEmpty()) { throw new SchematicNotLoaded("Schematic not loaded please load schematic first..."); } - } }