mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2024-11-11 09:25:27 +00:00
Opps. Real fix here
This commit is contained in:
parent
c4efd3fe8f
commit
a1000283c8
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue