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,6 +389,7 @@ 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 (!LibVersion.is1_7_6() || !gameProfile.getProperties().isEmpty()) { | ||||||
|                                     if (gameProfiles.containsKey(playerName) && gameProfiles.get(playerName) == null) { |                                     if (gameProfiles.containsKey(playerName) && gameProfiles.get(playerName) == null) { | ||||||
|                                         gameProfiles.put(playerName, gameProfile); |                                         gameProfiles.put(playerName, gameProfile); | ||||||
|                                     } |                                     } | ||||||
| @@ -402,6 +403,7 @@ public class DisguiseUtilities { | |||||||
|                                         } |                                         } | ||||||
|                                     } |                                     } | ||||||
|                                 } |                                 } | ||||||
|  |                             } | ||||||
|                         }); |                         }); | ||||||
|                     } catch (Exception e) { |                     } catch (Exception e) { | ||||||
|                         if (gameProfiles.containsKey(playerName) && gameProfiles.get(playerName) == null) { |                         if (gameProfiles.containsKey(playerName) && gameProfiles.get(playerName) == null) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user