mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-26 11:07:39 +01:00
Fixes message to players about losing coop.
This commit is contained in:
parent
1a1fe14775
commit
9c9490908e
@ -96,7 +96,7 @@ public class JoinLeaveListener implements Listener {
|
|||||||
island.getMembers().entrySet().stream()
|
island.getMembers().entrySet().stream()
|
||||||
.filter(e -> e.getValue() == RanksManager.COOP_RANK)
|
.filter(e -> e.getValue() == RanksManager.COOP_RANK)
|
||||||
.forEach(e -> User.getInstance(e.getKey())
|
.forEach(e -> User.getInstance(e.getKey())
|
||||||
.sendMessage("island.team.uncoop.all-members-logged-off", TextVariables.NAME, plugin.getPlayers().getName(island.getOwner())));
|
.sendMessage("commands.island.team.uncoop.all-members-logged-off", TextVariables.NAME, plugin.getPlayers().getName(island.getOwner())));
|
||||||
// Remove any coop players on this island
|
// Remove any coop players on this island
|
||||||
island.removeRank(RanksManager.COOP_RANK);
|
island.removeRank(RanksManager.COOP_RANK);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user