Fixes message to players about losing coop.

This commit is contained in:
tastybento 2018-12-10 15:44:29 -08:00
parent 1a1fe14775
commit 9c9490908e

View File

@ -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);
} }