Fixed for 0.12.0 API.
This commit is contained in:
parent
02b6dc67e8
commit
91274fb414
4
pom.xml
4
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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<>();
|
||||
|
|
Loading…
Reference in New Issue