mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-27 22:32:57 +00:00
Fixed x64 texture bug, breaking textures after switching the model type from x64 to x32
Fixed crash report handler issue with custom overlays. Removed "textureGlowLocation" field, which is unused now.
This commit is contained in:
1 parent
76802d1926
commit
2b15ba9197
9 files changed
+36
-23
No files matched your search
@@ -231,7 +231,6 @@ public class GuiCreationScreen extends GuiModelInterface implements ICustomScrol
|
||||
//npc.display.glowTexture = "";
|
||||
npc.display.skinOverlayData.overlayList.remove(0);
|
||||
npc.textureLocation = null;
|
||||
npc.textureGlowLocation = null;
|
||||
npc.updateHitbox();
|
||||
}
|
||||
catch(Exception ex){
|
||||
@@ -286,6 +285,7 @@ public class GuiCreationScreen extends GuiModelInterface implements ICustomScrol
|
||||
}
|
||||
npc.display.modelType = 0;
|
||||
}
|
||||
npc.textureLocation = null;
|
||||
}
|
||||
|
||||
if(button.id == 8){
|
||||
@@ -339,7 +339,6 @@ public class GuiCreationScreen extends GuiModelInterface implements ICustomScrol
|
||||
//npc.display.glowTexture = "";
|
||||
npc.display.skinOverlayData.overlayList.remove(0);
|
||||
npc.textureLocation = null;
|
||||
npc.textureGlowLocation = null;
|
||||
npc.updateHitbox();
|
||||
}
|
||||
catch(Exception ex){
|
||||
|
||||
Reference in new issue
Block a user