Fixes bug where world was not being recognized.
https://github.com/BentoBoxWorld/addon-welcomewarpsigns/issues/8
This commit is contained in:
parent
e829efc962
commit
84bf30d77a
|
@ -64,7 +64,7 @@ public class Warp extends Addon {
|
|||
if (bsbIslandCmd != null) {
|
||||
new WarpCommand(this, bsbIslandCmd);
|
||||
new WarpsCommand(this, bsbIslandCmd);
|
||||
registeredWorlds.add(plugin.getIWM().getWorld(BSKYBLOCK));
|
||||
registeredWorlds.add(bsbIslandCmd.getWorld());
|
||||
}
|
||||
});
|
||||
// AcidIsland hook in
|
||||
|
@ -73,7 +73,7 @@ public class Warp extends Addon {
|
|||
if (acidIslandCmd != null) {
|
||||
new WarpCommand(this, acidIslandCmd);
|
||||
new WarpsCommand(this, acidIslandCmd);
|
||||
registeredWorlds.add(plugin.getIWM().getWorld(ACIDISLAND));
|
||||
registeredWorlds.add(acidIslandCmd.getWorld());
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue