From 4231ae675507a93125a1f8bb5578476d7dcb57b6 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sun, 26 Jul 2015 04:32:37 +1000 Subject: [PATCH] Fixes #457 --- pom.xml | 2 +- src/main/java/com/intellectualcrafters/plot/BukkitMain.java | 1 + src/main/java/com/intellectualcrafters/plot/commands/Set.java | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index db24fed23..3a28fd062 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ UTF-8 PlotSquared - 2.12.17 + 2.12.18 PlotSquared jar diff --git a/src/main/java/com/intellectualcrafters/plot/BukkitMain.java b/src/main/java/com/intellectualcrafters/plot/BukkitMain.java index d583241fa..26ac434df 100644 --- a/src/main/java/com/intellectualcrafters/plot/BukkitMain.java +++ b/src/main/java/com/intellectualcrafters/plot/BukkitMain.java @@ -184,6 +184,7 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain { @Override public void registerCommands() { new MainCommand(); + MainCommand.subCommands.add(new Buy()); MainCommand.subCommands.add(new Save()); MainCommand.subCommands.add(new Load()); MainCommand.subCommands.add(new Download()); diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Set.java b/src/main/java/com/intellectualcrafters/plot/commands/Set.java index d364232c3..22683ab1a 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Set.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Set.java @@ -349,7 +349,7 @@ public class Set extends SubCommand { a.append(" ").append(args[x]); } } - MainCommand.onCommand(plr, world, ("plot set flag " + args[0] + a.toString()).split(" ")); + MainCommand.onCommand(plr, world, ("flag set " + args[0] + a.toString()).split(" ")); return true; } }