diff --git a/CraftBukkit-Patches/0129-Convert-player-heads-async.patch b/CraftBukkit-Patches/0129-Convert-player-heads-async.patch index cfc12e15c..df2e452a3 100644 --- a/CraftBukkit-Patches/0129-Convert-player-heads-async.patch +++ b/CraftBukkit-Patches/0129-Convert-player-heads-async.patch @@ -1,4 +1,4 @@ -From c0929058940f075b24985d67861f7adb2cd4d739 Mon Sep 17 00:00:00 2001 +From eb8cdddd79ecd5713472caac985feb874c8e9950 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Wed, 9 Apr 2014 13:29:57 +0100 Subject: [PATCH] Convert player heads async @@ -112,10 +112,10 @@ index b241cfe..925e017 100644 public Packet getUpdatePacket() { diff --git a/src/main/java/org/spigotmc/HeadConverter.java b/src/main/java/org/spigotmc/HeadConverter.java new file mode 100644 -index 0000000..3c522d9 +index 0000000..8cf9162 --- /dev/null +++ b/src/main/java/org/spigotmc/HeadConverter.java -@@ -0,0 +1,159 @@ +@@ -0,0 +1,164 @@ +package org.spigotmc; + +import com.google.common.base.Charsets; @@ -223,6 +223,11 @@ index 0000000..3c522d9 + gameProfile.getName() ); + MinecraftServer.getServer().newSessionService.fillProfileProperties( newStyleProfile ); + ++ if ( newStyleProfile.getProperties().size() < 1) ++ { ++ return; ++ } ++ + + for ( String key : newStyleProfile.getProperties().keys() ) + {