Fix 64x64 Entity - Restore Textures

Restore Textures to fix conflicts with Zombie, Skeleton and other entities.
This commit is contained in:
KAMKEEL committed 2022-07-18 18:25:42 -04:00
1 parent abf70368e1
commit c3e5b5e9db
620 files changed
+3 -9

No files matched your search

@@ -19,17 +19,11 @@ public class VersionCompatibility {
public static void CheckNpcCompatibility(EntityNPCInterface npc, NBTTagCompound compound){
if(npc.npcVersion == ModRev)
return;
if(npc.npcVersion < 19){
// Fix 64-Textures
String texture = compound.getString("Texture");
texture = texture.replace("64-Textures/", "");
compound.setString("Texture", texture);
if(npc.npcVersion < 19) {
if (compound.hasKey("CanDrown")) {
compound.setInteger("DrowningType", (compound.getBoolean("CanDrown") ? 1 : 0));
compound.removeTag("CanDrown");
}
}
if(npc.npcVersion < 18){
// Fix CloakTexture (Reorganization)