From d8e8748f705a51e6ad65c91122ab65f1f9770488 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sun, 10 Jun 2018 12:45:04 +0100 Subject: [PATCH] Fix missed change inside of CraftSkullMeta --- Spigot-Server-Patches/Use-UserCache-for-player-heads.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Spigot-Server-Patches/Use-UserCache-for-player-heads.patch b/Spigot-Server-Patches/Use-UserCache-for-player-heads.patch index 6d9074b715..2174213111 100644 --- a/Spigot-Server-Patches/Use-UserCache-for-player-heads.patch +++ b/Spigot-Server-Patches/Use-UserCache-for-player-heads.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Use UserCache for player heads diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java -index b6b34627a..5659c1c70 100644 +index b6b34627a..862b30286 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java @@ -0,0 +0,0 @@ import net.minecraft.server.GameProfileSerializer; @@ -25,7 +25,7 @@ index b6b34627a..5659c1c70 100644 + GameProfile newProfile = null; + EntityPlayer player = MinecraftServer.getServer().getPlayerList().getPlayer(name); + if (player != null) newProfile = player.getProfile(); -+ if (newProfile == null) profile = new GameProfile(null, name); ++ if (newProfile == null) newProfile = new GameProfile(null, name); + profile = newProfile; + // Paper end }