Created
February 5, 2015 01:05
-
-
Save GaeaKat/4848385142275e0b4b84 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GameProfile profile = MinecraftServer.getServer().func_152358_ax().func_152655_a(username); | |
UUID uuid = null; | |
if (profile != null && profile.getId()!=null ) | |
uuid = profile.getId(); | |
else | |
uuid = EntityPlayer.func_146094_a(new GameProfile(null, username)); | |
return uuid; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment