Replace 64x32 Textures with 64x64 Textures

This commit is contained in:
KAMKEEL committed 2022-06-15 14:48:13 -04:00
1 parent 4a32f76b70
commit 33c2f6b716
618 files changed
+7 -1

No files matched your search

@@ -14,11 +14,17 @@ import noppes.npcs.entity.EntityNPCInterface;
import org.lwjgl.Sys;
public class VersionCompatibility {
public static int ModRev = 19;
public static int ModRev = 18;
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 < 18){
// Fix CloakTexture (Reorganization)
String cloakTexture = compound.getString("CloakTexture");