mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
Fixed NPCs with old glow textures not loading them.
This commit is contained in:
1 parent
5cbbecf751
commit
f30adfc00b
1 file changed
+1
-1
@@ -139,7 +139,7 @@ public class DataDisplay {
|
||||
if (!nbttagcompound.hasKey("SkinOverlayData") && !glowTexture.isEmpty()) {
|
||||
NBTTagCompound compound = new NBTTagCompound();
|
||||
compound.setInteger("SkinOverlayID", 0); //unique glow texture ID
|
||||
(new SkinOverlay(glowTexture)).writeToNBT(nbttagcompound);
|
||||
(new SkinOverlay(glowTexture)).writeToNBT(compound);
|
||||
|
||||
if (!nbttagcompound.hasKey("SkinOverlayData")) {
|
||||
NBTTagList tagList = new NBTTagList();
|
||||
|
||||
Reference in new issue
Block a user