Remove pointless line.
Dieser Commit ist enthalten in:
Ursprung
c1890cb256
Commit
486ac2653d
@ -40,7 +40,6 @@ public class WrappedGameProfile extends AbstractWrapper {
|
|||||||
if (CREATE_STRING_STRING != null) {
|
if (CREATE_STRING_STRING != null) {
|
||||||
setHandle(CREATE_STRING_STRING.invoke(id, name));
|
setHandle(CREATE_STRING_STRING.invoke(id, name));
|
||||||
} else {
|
} else {
|
||||||
parseUUID(id, name);
|
|
||||||
setHandle(new GameProfile(parseUUID(id, name), name));
|
setHandle(new GameProfile(parseUUID(id, name), name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -99,7 +98,8 @@ public class WrappedGameProfile extends AbstractWrapper {
|
|||||||
public String getId() {
|
public String getId() {
|
||||||
if (GET_UUID_STRING != null)
|
if (GET_UUID_STRING != null)
|
||||||
return (String) GET_UUID_STRING.get(handle);
|
return (String) GET_UUID_STRING.get(handle);
|
||||||
return getProfile().getId() != null ? getProfile().getId().toString() : null;
|
final GameProfile profile = getProfile();
|
||||||
|
return profile.getId() != null ? profile.getId().toString() : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren