This should work...

This commit is contained in:
tastybento 2017-08-08 23:10:04 -07:00
parent 71d82c9bd5
commit e5cfce4c17

View File

@ -941,7 +941,7 @@ public class IslandCommand extends AbstractCommand {
return; return;
} }
// targetPlayer is the new leader // targetPlayer is the new leader
//plugin.getIslands().getIsland(playerUUID).makeLeader(targetPlayer); plugin.getIslands().getIsland(playerUUID).setOwner(targetPlayer);
Util.sendMessage(player, ChatColor.GREEN Util.sendMessage(player, ChatColor.GREEN
+ plugin.getLocale(playerUUID).get("makeLeader.nameIsNowTheOwner").replace("[name]", plugin.getPlayers().getName(targetPlayer))); + plugin.getLocale(playerUUID).get("makeLeader.nameIsNowTheOwner").replace("[name]", plugin.getPlayers().getName(targetPlayer)));