This commit is contained in:
boy0001 2015-07-26 04:32:37 +10:00
parent ed60c80410
commit 4231ae6755
3 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<artifactId>PlotSquared</artifactId> <artifactId>PlotSquared</artifactId>
<version>2.12.17</version> <version>2.12.18</version>
<name>PlotSquared</name> <name>PlotSquared</name>
<packaging>jar</packaging> <packaging>jar</packaging>
<build> <build>

View File

@ -184,6 +184,7 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
@Override @Override
public void registerCommands() { public void registerCommands() {
new MainCommand(); new MainCommand();
MainCommand.subCommands.add(new Buy());
MainCommand.subCommands.add(new Save()); MainCommand.subCommands.add(new Save());
MainCommand.subCommands.add(new Load()); MainCommand.subCommands.add(new Load());
MainCommand.subCommands.add(new Download()); MainCommand.subCommands.add(new Download());

View File

@ -349,7 +349,7 @@ public class Set extends SubCommand {
a.append(" ").append(args[x]); 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; return true;
} }
} }