mirror of
https://github.com/BentoBoxWorld/Warps.git
synced 2025-02-20 14:21:44 +01:00
Updated to use new API
This commit is contained in:
parent
d1aef0ed9d
commit
b511b0eb31
@ -311,7 +311,7 @@ public class WarpSignsManager implements Listener {
|
||||
|
||||
|
||||
// Check that the player is on their island
|
||||
if (!(bSkyBlock.getIslands().playerIsOnIsland(player))) {
|
||||
if (!(bSkyBlock.getIslands().userIsOnIsland(player))) {
|
||||
player.sendMessage("warps.error.not-on-island");
|
||||
e.setLine(0, ChatColor.RED + addon.getConfig().getString("welcomeLine"));
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user