mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
Add Version Compatibility to PartData
> Fixes MPM Dependency (again)
This commit is contained in:
1 parent
424b868b48
commit
9e1f19fa53
3 files changed
+9
-11
No files matched your search
@@ -35,6 +35,10 @@ public class ModelPartData {
|
||||
type = compound.getByte("Type");
|
||||
color = compound.getInteger("Color");
|
||||
texture = compound.getString("Texture");
|
||||
// Disable MPM Dependency for Part Textures
|
||||
if(VersionCompatibility.ModRev < 19){
|
||||
texture = texture.replace("moreplayermodels:textures", "customnpcs:textures/parts");
|
||||
}
|
||||
playerTexture = compound.getBoolean("PlayerTexture");
|
||||
location = null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user