mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 10:47:30 +00:00
Replace 64x32 Textures with 64x64 Textures
This commit is contained in:
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");
|
||||
|
||||
Reference in new issue
Block a user