mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 02:15:11 +00:00
Alex and Steve skins now switch to x64 or x32 models automatically.
This commit is contained in:
1 parent
2b15ba9197
commit
4aa1799ec3
6 files changed
+69
-30
No files matched your search
@@ -363,7 +363,8 @@ public class RenderNPCInterface extends RenderLiving{
|
||||
int totalWidth = bufferedimage.getWidth();
|
||||
int totalHeight = bufferedimage.getHeight();
|
||||
|
||||
if (totalHeight > 32 && npc.display.modelType == 0) {
|
||||
npc.display.x64texture = totalHeight > 32;
|
||||
if (npc.display.x64texture && (npc.display.modelType == 0 || npc.display.modelType == 3)) {
|
||||
bufferedimage = bufferedimage.getSubimage(0, 0, totalWidth, 32);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user