mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-25 04:05:36 +01:00
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
Block a user