Fixed a error when chceking for disguise conflicts

This commit is contained in:
libraryaddict 2014-01-15 22:40:33 +13:00
parent 9f35d646ba
commit c1374e8523

View File

@ -86,7 +86,7 @@ public class DisguiseUtilities {
d.removePlayer(name);
}
} else {
for (String playername : d.getObservers()) {
for (String playername : new ArrayList<String>(d.getObservers())) {
if (!disguise.getObservers().contains(playername)) {
d.silentlyRemovePlayer(playername);
}