Added config for NPC sizes, default 100.

This commit is contained in:
luisc committed 2022-01-25 14:54:15 -06:00
1 parent eb45a6a959
commit f14337f1bb
4 files changed
+15 -1

No files matched your search

@@ -72,6 +72,9 @@ public class CustomNpcs {
@ConfigProp(info = "Navigation search range for NPCs. Not recommended to increase if you have a slow pc or on a server. Minimum of 16, maximum of 96.")
public static int NpcNavRange = 32;
@ConfigProp(info = "Size limit for NPCs. Default 100, larger sizes may cause lag on clients and servers that can't take it!")
public static int NpcSizeLimit = 100;
@ConfigProp(info = "Set to true if you want the dialog command option to be able to use op commands like tp etc")
public static boolean NpcUseOpCommands = false;
@@ -171,6 +174,9 @@ public class CustomNpcs {
NpcNavRange = 96;
}
if(NpcSizeLimit < 1)
NpcSizeLimit = 1;
EnchantInterface.load();
CustomItems.load();