diff --git a/src/main/java/me/libraryaddict/disguise/utilities/listeners/PlayerSkinHandler.java b/src/main/java/me/libraryaddict/disguise/utilities/listeners/PlayerSkinHandler.java index 78088c75..b6f188bb 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/listeners/PlayerSkinHandler.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/listeners/PlayerSkinHandler.java @@ -217,7 +217,9 @@ public class PlayerSkinHandler implements Listener { PlayerDisguise disguise = (PlayerDisguise) event.getDisguise(); - for (Player player : DisguiseUtilities.getPerverts(disguise)) { + ArrayList players = new ArrayList<>(getCache().asMap().keySet()); + + for (Player player : players) { List skins = getCache().getIfPresent(player); if (skins == null) {