From e5cfce4c17eeb9d322f826b39b462edf14c1d23e Mon Sep 17 00:00:00 2001 From: tastybento Date: Tue, 8 Aug 2017 23:10:04 -0700 Subject: [PATCH] This should work... --- .../java/us/tastybento/bskyblock/commands/IslandCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/us/tastybento/bskyblock/commands/IslandCommand.java b/src/main/java/us/tastybento/bskyblock/commands/IslandCommand.java index 93fc7fb3d..e167d8402 100755 --- a/src/main/java/us/tastybento/bskyblock/commands/IslandCommand.java +++ b/src/main/java/us/tastybento/bskyblock/commands/IslandCommand.java @@ -941,7 +941,7 @@ public class IslandCommand extends AbstractCommand { return; } // targetPlayer is the new leader - //plugin.getIslands().getIsland(playerUUID).makeLeader(targetPlayer); + plugin.getIslands().getIsland(playerUUID).setOwner(targetPlayer); Util.sendMessage(player, ChatColor.GREEN + plugin.getLocale(playerUUID).get("makeLeader.nameIsNowTheOwner").replace("[name]", plugin.getPlayers().getName(targetPlayer)));