From 6941ebd7e16627f5b48884193ec232233e081c65 Mon Sep 17 00:00:00 2001 From: Yaruma3341 Date: Wed, 19 Jun 2019 21:06:07 +0200 Subject: [PATCH] hotfixes Signed-off-by: yaruma3341 --- .../schematicsystem/commands/SchematicCommand.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/de/warking/schematicsystem/commands/SchematicCommand.java b/src/de/warking/schematicsystem/commands/SchematicCommand.java index 15e4607..452f48b 100644 --- a/src/de/warking/schematicsystem/commands/SchematicCommand.java +++ b/src/de/warking/schematicsystem/commands/SchematicCommand.java @@ -59,6 +59,8 @@ public class SchematicCommand implements CommandExecutor { sendHelp(player); return false; } + + sendHelp(player); return false; case 2: @@ -113,6 +115,7 @@ public class SchematicCommand implements CommandExecutor { } catch (IOException ex) { ex.printStackTrace(); } + return false; } if(args[0].equalsIgnoreCase("delete")) { @@ -234,6 +237,7 @@ public class SchematicCommand implements CommandExecutor { } } catch (IOException ex) { ex.printStackTrace(); } catch (EmptyClipboardException ex) { ex.printStackTrace(); } + return false; } if(args[0].equalsIgnoreCase("getschemchangetype")) { @@ -268,6 +272,7 @@ public class SchematicCommand implements CommandExecutor { player.spigot().sendMessage(miniwargear); player.spigot().sendMessage(airship); player.spigot().sendMessage(warship); + return false; } if(args[0].equalsIgnoreCase("getmoreinfo")) { @@ -292,7 +297,10 @@ public class SchematicCommand implements CommandExecutor { player.sendMessage("§bGrund: " + checkedSchematic.getDeclineReason()); } } + return false; } + + sendHelp(player); return false; case 3: @@ -569,6 +577,8 @@ public class SchematicCommand implements CommandExecutor { return false; } } + + sendHelp(player); } return false; }