Opps. Real fix here

This commit is contained in:
libraryaddict 2014-01-15 23:14:40 +13:00
parent c4efd3fe8f
commit a1000283c8

View file

@ -194,7 +194,7 @@ public class ReflectionManager {
public static Object getGameProfile(String playerName) {
try {
return Class.forName("net.minecraft.util.com.mojang.authlib.GameProfile").getConstructor(String.class, String.class)
.newInstance(UUID.randomUUID().toString(), "a");
.newInstance(UUID.randomUUID().toString(), playerName);
} catch (Exception ex) {
ex.printStackTrace();
}