Opps. Real fix here
This commit is contained in:
parent
c4efd3fe8f
commit
a1000283c8
@ -194,7 +194,7 @@ public class ReflectionManager {
|
|||||||
public static Object getGameProfile(String playerName) {
|
public static Object getGameProfile(String playerName) {
|
||||||
try {
|
try {
|
||||||
return Class.forName("net.minecraft.util.com.mojang.authlib.GameProfile").getConstructor(String.class, String.class)
|
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) {
|
} catch (Exception ex) {
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user