From e2878e7ec5a42410aab295f40c57d55378a9503b Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sat, 28 Feb 2015 13:00:27 +1100 Subject: [PATCH] Template feedback --- .../intellectualcrafters/plot/commands/Template.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Template.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Template.java index 4da7e0413..b83d30bd0 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Template.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Template.java @@ -53,6 +53,16 @@ public class Template extends SubCommand { @Override public boolean execute(final PlotPlayer plr, final String... args) { if (args.length != 2 && args.length != 3) { + if (args.length == 1) { + if (args[0].equalsIgnoreCase("export")) { + MainUtil.sendMessage(plr, C.COMMAND_SYNTAX, "/plot template export "); + return false; + } + else if (args[0].equalsIgnoreCase("import")) { + MainUtil.sendMessage(plr, C.COMMAND_SYNTAX, "/plot template import