Get cache not perverts
This commit is contained in:
		| @@ -217,7 +217,9 @@ public class PlayerSkinHandler implements Listener { | |||||||
|  |  | ||||||
|         PlayerDisguise disguise = (PlayerDisguise) event.getDisguise(); |         PlayerDisguise disguise = (PlayerDisguise) event.getDisguise(); | ||||||
|  |  | ||||||
|         for (Player player : DisguiseUtilities.getPerverts(disguise)) { |         ArrayList<Player> players = new ArrayList<>(getCache().asMap().keySet()); | ||||||
|  |  | ||||||
|  |         for (Player player : players) { | ||||||
|             List<PlayerSkin> skins = getCache().getIfPresent(player); |             List<PlayerSkin> skins = getCache().getIfPresent(player); | ||||||
|  |  | ||||||
|             if (skins == null) { |             if (skins == null) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user