mirror of
https://hub.spigotmc.org/stash/scm/spigot/spigot.git
synced 2026-11-25 03:39:43 -05:00
Merge pull request #188 from geNAZt/master
Fix Skulls for 1.7.2 to 1.7.5
This commit is contained in:
commit
58e4de9c2d
1 file changed
+21
@@ -0,0 +1,21 @@
|
||||
From a612b1c28b5acd652ef27930e9e833f84272e82f Mon Sep 17 00:00:00 2001
|
||||
From: geNAZt <fabian.fassbender42@googlemail.com>
|
||||
Date: Tue, 8 Jul 2014 00:04:00 +0200
|
||||
Subject: [PATCH] Fix player Skulls for 1.7.2 Clients
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/TileEntitySkull.java b/src/main/java/net/minecraft/server/TileEntitySkull.java
|
||||
index 255e0de..74dd181 100644
|
||||
--- a/src/main/java/net/minecraft/server/TileEntitySkull.java
|
||||
+++ b/src/main/java/net/minecraft/server/TileEntitySkull.java
|
||||
@@ -37,6 +37,7 @@ public class TileEntitySkull extends TileEntity {
|
||||
|
||||
GameProfileSerializer.a(nbttagcompound1, this.j);
|
||||
nbttagcompound.set("Owner", nbttagcompound1);
|
||||
+ nbttagcompound.setString("ExtraType", nbttagcompound1.getString("Name")); // Spigot
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
1.9.4.msysgit.0
|
||||
|
||||
Reference in new issue
Block a user