Fix bug
This commit is contained in:
parent
40e96b9169
commit
75412a4674
|
@ -82,7 +82,7 @@ public class AdminTeamDisbandCommand extends CompositeCommand {
|
|||
|
||||
private Map<String, Island> getIslandsXYZ(UUID target) {
|
||||
return getIslands().getOwnedIslands(getWorld(), target).stream().filter(is -> is.getMemberSet().size() > 1) // Filter for teams
|
||||
.collect(Collectors.toMap(is -> Util.xyz(island.getCenter().toVector()), is -> is));
|
||||
.collect(Collectors.toMap(is -> Util.xyz(is.getCenter().toVector()), is -> is));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue