Fixing spawn rates
This commit is contained in:
parent
95c1710b55
commit
95a066d145
2 changed files with 5 additions and 2 deletions
|
|
@ -62,6 +62,9 @@ namespace TShockAPI
|
|||
kickBoom = cfg.KickExplosives;
|
||||
spawnProtect = cfg.SpawnProtection;
|
||||
spawnProtectRadius = cfg.SpawnProtectionRadius;
|
||||
|
||||
Terraria.NPC.maxSpawns = defaultMaxSpawns;
|
||||
Terraria.NPC.defaultSpawnRate = defaultSpawnRate;
|
||||
}
|
||||
|
||||
public static void WriteJsonConfiguration()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue