From 486ac2653db8992fe141cfbb7cf05682b9af3360 Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Wed, 16 Apr 2014 02:18:43 +0200 Subject: [PATCH] Remove pointless line. --- .../com/comphenix/protocol/wrappers/WrappedGameProfile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedGameProfile.java b/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedGameProfile.java index ba623f2f..b1add0a0 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedGameProfile.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/wrappers/WrappedGameProfile.java @@ -40,7 +40,6 @@ public class WrappedGameProfile extends AbstractWrapper { if (CREATE_STRING_STRING != null) { setHandle(CREATE_STRING_STRING.invoke(id, name)); } else { - parseUUID(id, name); setHandle(new GameProfile(parseUUID(id, name), name)); } } @@ -99,7 +98,8 @@ public class WrappedGameProfile extends AbstractWrapper { public String getId() { if (GET_UUID_STRING != null) 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; } /**