From c1374e8523072f04911565f86e02d6cd4e8a3bf3 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Wed, 15 Jan 2014 22:40:33 +1300 Subject: [PATCH] Fixed a error when chceking for disguise conflicts --- src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index c41f3a3d..c5904f06 100644 --- a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -86,7 +86,7 @@ public class DisguiseUtilities { d.removePlayer(name); } } else { - for (String playername : d.getObservers()) { + for (String playername : new ArrayList(d.getObservers())) { if (!disguise.getObservers().contains(playername)) { d.silentlyRemovePlayer(playername); }