1
0
Fork 0

Use player cache for skulls

kcx-1614
Sergey Shatunov 2016-01-05 15:06:32 +07:00
parent 8d4b99c574
commit 99915acb8b
1 changed files with 2 additions and 1 deletions

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;