Fixed for 0.12.0 API.

This commit is contained in:
tastybento 2018-10-30 18:12:30 -07:00
parent 02b6dc67e8
commit 91274fb414
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<groupId>bskyblock.addon</groupId>
<artifactId>WelcomeWarpSigns</artifactId>
<version>0.0.4-SNAPSHOT</version>
<version>0.1.0-SNAPSHOT</version>
<name>WelcomeWarpSigns</name>
<description>WelcomeWarpSigns is an add-on for BentoBox, an expandable Minecraft Bukkit plugin for island-type games like ASkyBlock or AcidIsland.</description>
@ -70,7 +70,7 @@
<dependency>
<groupId>world.bentobox</groupId>
<artifactId>bentobox</artifactId>
<version>0.9.0-SNAPSHOT</version>
<version>0.12.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>bskyblock.addon</groupId>

View File

@ -47,7 +47,7 @@ public class Warp extends Addon {
plugin = this.getPlugin();
// Check if it is enabled - it might be loaded, but not enabled.
if (!plugin.isEnabled()) {
this.setEnabled(false);
this.setState(State.DISABLED);
return;
}
registeredWorlds = new HashSet<>();