Archiviert
13
0

Merge pull request #45 from Johni0702/master

Fix NPE in WrappedGameProfile.getId()
Dieser Commit ist enthalten in:
Kristian S. Stangeland 2014-04-14 14:16:09 +02:00
Commit 0a4b1b3201

Datei anzeigen

@ -87,7 +87,7 @@ public class WrappedGameProfile extends AbstractWrapper {
* @return The UUID of the player, or NULL if not computed.
*/
public String getId() {
if (GET_UUID_STRING == null)
if (GET_UUID_STRING != null)
return (String) GET_UUID_STRING.get(handle);
return getProfile().getId() != null ? getProfile().getId().toString() : null;
}