@@ -39,8 +39,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ // Paper start
|
||||
+ if (nbttagcompound != null && nbttagcompound.hasKeyOfType("SkullOwner", 10)) {
|
||||
+ NBTTagCompound owner = nbttagcompound.getCompound("SkullOwner");
|
||||
+ if (owner.hasKey("Id")) {
|
||||
+ nbttagcompound.map.put("SkullOwnerOrig", owner.map.get("Id"));
|
||||
+ if (owner.hasUUID("Id")) {
|
||||
+ nbttagcompound.setUUID("SkullOwnerOrig", owner.getUUID("Id"));
|
||||
+ TileEntitySkull.sanitizeUUID(owner);
|
||||
+ }
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user