Fixed a error when chceking for disguise conflicts
This commit is contained in:
parent
9f35d646ba
commit
c1374e8523
@ -86,7 +86,7 @@ public class DisguiseUtilities {
|
|||||||
d.removePlayer(name);
|
d.removePlayer(name);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (String playername : d.getObservers()) {
|
for (String playername : new ArrayList<String>(d.getObservers())) {
|
||||||
if (!disguise.getObservers().contains(playername)) {
|
if (!disguise.getObservers().contains(playername)) {
|
||||||
d.silentlyRemovePlayer(playername);
|
d.silentlyRemovePlayer(playername);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user