1
0
forked from xjboss/KCauldronX

Use player cache for skulls

This commit is contained in:
Sergey Shatunov 2016-01-05 15:06:32 +07:00
parent 8d4b99c574
commit 99915acb8b

View File

@ -97,7 +97,8 @@ class CraftMetaSkull extends CraftMetaItem implements SkullMeta {
if (name == null) {
profile = null;
} 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;