mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-16 15:38:14 +01:00
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);
|
||||
}
|
||||
} else {
|
||||
for (String playername : d.getObservers()) {
|
||||
for (String playername : new ArrayList<String>(d.getObservers())) {
|
||||
if (!disguise.getObservers().contains(playername)) {
|
||||
d.silentlyRemovePlayer(playername);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user