Not sure if this will do anything bad. But it means we don't use their names if non-skinned player
This commit is contained in:
		| @@ -389,15 +389,17 @@ public class DisguiseUtilities { | |||||||
|                         final WrappedGameProfile gameProfile = lookupGameProfile(origName); |                         final WrappedGameProfile gameProfile = lookupGameProfile(origName); | ||||||
|                         Bukkit.getScheduler().runTask(libsDisguises, new Runnable() { |                         Bukkit.getScheduler().runTask(libsDisguises, new Runnable() { | ||||||
|                             public void run() { |                             public void run() { | ||||||
|                                 if (gameProfiles.containsKey(playerName) && gameProfiles.get(playerName) == null) { |                                 if (!LibVersion.is1_7_6() || !gameProfile.getProperties().isEmpty()) { | ||||||
|                                     gameProfiles.put(playerName, gameProfile); |                                     if (gameProfiles.containsKey(playerName) && gameProfiles.get(playerName) == null) { | ||||||
|                                 } |                                         gameProfiles.put(playerName, gameProfile); | ||||||
|                                 if (runnables.containsKey(playerName)) { |                                     } | ||||||
|                                     for (Object obj : runnables.remove(playerName)) { |                                     if (runnables.containsKey(playerName)) { | ||||||
|                                         if (obj instanceof Runnable) { |                                         for (Object obj : runnables.remove(playerName)) { | ||||||
|                                             ((Runnable) obj).run(); |                                             if (obj instanceof Runnable) { | ||||||
|                                         } else if (obj instanceof LibsProfileLookup) { |                                                 ((Runnable) obj).run(); | ||||||
|                                             ((LibsProfileLookup) obj).onLookup(gameProfile); |                                             } else if (obj instanceof LibsProfileLookup) { | ||||||
|  |                                                 ((LibsProfileLookup) obj).onLookup(gameProfile); | ||||||
|  |                                             } | ||||||
|                                         } |                                         } | ||||||
|                                     } |                                     } | ||||||
|                                 } |                                 } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user