mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-15 18:24:51 +00:00
Added config for NPC sizes, default 100.
This commit is contained in:
1 parent
eb45a6a959
commit
f14337f1bb
4 files changed
+15
-1
No files matched your search
@@ -133,6 +133,9 @@ public class DataDisplay {
|
||||
glowTexture = nbttagcompound.getString("GlowTexture");
|
||||
|
||||
modelSize = ValueUtil.CorrectInt(nbttagcompound.getInteger("Size"), 1, Integer.MAX_VALUE);
|
||||
if(modelSize > CustomNpcs.NpcSizeLimit)
|
||||
modelSize = CustomNpcs.NpcSizeLimit;
|
||||
|
||||
modelType = nbttagcompound.getInteger("modelType");
|
||||
|
||||
showName = nbttagcompound.getInteger("ShowName");
|
||||
|
||||
Reference in new issue
Block a user