mirror of
https://github.com/BentoBoxWorld/BSkyBlock.git
synced 2024-11-05 09:17:34 +01:00
Updated to latest BentoBox API.
Removed reload command.
This commit is contained in:
parent
0e95a7c77b
commit
bd8f402b40
2
pom.xml
2
pom.xml
@ -71,7 +71,7 @@
|
||||
<dependency>
|
||||
<groupId>world.bentobox</groupId>
|
||||
<artifactId>bentobox</artifactId>
|
||||
<version>FC-0.92</version>
|
||||
<version>FC-0.95</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
@ -63,4 +63,5 @@ public class BSkyBlock extends Addon {
|
||||
public static Addon getInstance() {
|
||||
return addon;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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.AdminInfoCommand;
|
||||
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.AdminSetRankCommand;
|
||||
import world.bentobox.bentobox.api.commands.admin.AdminTeleportCommand;
|
||||
@ -34,11 +33,10 @@ public class AdminCommand extends CompositeCommand {
|
||||
setPermissionPrefix("bskyblock");
|
||||
setPermission("admin.*");
|
||||
setOnlyPlayer(false);
|
||||
setParameters("commands.admin.help.parameters");
|
||||
setParametersHelp("commands.admin.help.parameters");
|
||||
setDescription("commands.admin.help.description");
|
||||
setWorld(((BSkyBlock)getAddon()).getIslandWorld());
|
||||
new AdminVersionCommand(this);
|
||||
new AdminReloadCommand(this);
|
||||
new AdminTeleportCommand(this, "tp");
|
||||
new AdminTeleportCommand(this, "tpnether");
|
||||
new AdminTeleportCommand(this, "tpend");
|
||||
|
Loading…
Reference in New Issue
Block a user