mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-29 06:05:13 +01:00
This should work...
This commit is contained in:
parent
71d82c9bd5
commit
e5cfce4c17
@ -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)));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user