Use player cache for skulls
This commit is contained in:
parent
8d4b99c574
commit
99915acb8b
@ -97,7 +97,8 @@ class CraftMetaSkull extends CraftMetaItem implements SkullMeta {
|
|||||||
if (name == null) {
|
if (name == null) {
|
||||||
profile = null;
|
profile = null;
|
||||||
} else {
|
} else {
|
||||||
profile = new GameProfile(null, name);
|
profile = net.minecraft.server.MinecraftServer.getServer().func_152358_ax().func_152655_a(name);
|
||||||
|
if (profile == null) profile = new GameProfile(null, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user