Updated to latest BentoBox API.

Removed reload command.
This commit is contained in:
tastybento 2018-08-12 19:54:28 -07:00
parent 0e95a7c77b
commit bd8f402b40
3 changed files with 3 additions and 4 deletions

View File

@ -71,7 +71,7 @@
<dependency> <dependency>
<groupId>world.bentobox</groupId> <groupId>world.bentobox</groupId>
<artifactId>bentobox</artifactId> <artifactId>bentobox</artifactId>
<version>FC-0.92</version> <version>FC-0.95</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -63,4 +63,5 @@ public class BSkyBlock extends Addon {
public static Addon getInstance() { public static Addon getInstance() {
return addon; return addon;
} }
} }

View File

@ -9,7 +9,6 @@ import world.bentobox.bentobox.api.commands.admin.AdminClearResetsCommand;
import world.bentobox.bentobox.api.commands.admin.AdminGetRankCommand; import world.bentobox.bentobox.api.commands.admin.AdminGetRankCommand;
import world.bentobox.bentobox.api.commands.admin.AdminInfoCommand; import world.bentobox.bentobox.api.commands.admin.AdminInfoCommand;
import world.bentobox.bentobox.api.commands.admin.AdminRegisterCommand; import world.bentobox.bentobox.api.commands.admin.AdminRegisterCommand;
import world.bentobox.bentobox.api.commands.admin.AdminReloadCommand;
import world.bentobox.bentobox.api.commands.admin.AdminSchemCommand; import world.bentobox.bentobox.api.commands.admin.AdminSchemCommand;
import world.bentobox.bentobox.api.commands.admin.AdminSetRankCommand; import world.bentobox.bentobox.api.commands.admin.AdminSetRankCommand;
import world.bentobox.bentobox.api.commands.admin.AdminTeleportCommand; import world.bentobox.bentobox.api.commands.admin.AdminTeleportCommand;
@ -34,11 +33,10 @@ public class AdminCommand extends CompositeCommand {
setPermissionPrefix("bskyblock"); setPermissionPrefix("bskyblock");
setPermission("admin.*"); setPermission("admin.*");
setOnlyPlayer(false); setOnlyPlayer(false);
setParameters("commands.admin.help.parameters"); setParametersHelp("commands.admin.help.parameters");
setDescription("commands.admin.help.description"); setDescription("commands.admin.help.description");
setWorld(((BSkyBlock)getAddon()).getIslandWorld()); setWorld(((BSkyBlock)getAddon()).getIslandWorld());
new AdminVersionCommand(this); new AdminVersionCommand(this);
new AdminReloadCommand(this);
new AdminTeleportCommand(this, "tp"); new AdminTeleportCommand(this, "tp");
new AdminTeleportCommand(this, "tpnether"); new AdminTeleportCommand(this, "tpnether");
new AdminTeleportCommand(this, "tpend"); new AdminTeleportCommand(this, "tpend");