This should work...
This commit is contained in:
parent
71d82c9bd5
commit
e5cfce4c17
|
@ -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)));
|
||||
|
||||
|
|
Loading…
Reference in New Issue