Fixed NPCs with old glow textures not loading them.

This commit is contained in:
c0508383 committed 2022-08-17 13:36:45 -05:00
1 parent 5cbbecf751
commit f30adfc00b
1 file changed
+1 -1
+1 -1
View File
@@ -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();