From 9a3cf85cf25247af8a6e985a79f4003b365dfd29 Mon Sep 17 00:00:00 2001 From: high Date: Mon, 4 Jul 2011 00:44:04 -0400 Subject: [PATCH] NPC.maxSpawns should be NPC.defaultMaxSpawns --- TShockAPI/Properties/AssemblyInfo.cs | 4 ++-- TShockAPI/TShock.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TShockAPI/Properties/AssemblyInfo.cs b/TShockAPI/Properties/AssemblyInfo.cs index 19f98b1c..66169d98 100644 --- a/TShockAPI/Properties/AssemblyInfo.cs +++ b/TShockAPI/Properties/AssemblyInfo.cs @@ -35,5 +35,5 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.3.2.0701")] -[assembly: AssemblyFileVersion("2.3.2.0701")] +[assembly: AssemblyVersion("2.3.2.0704")] +[assembly: AssemblyFileVersion("2.3.2.0704")] diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 70a3dccd..c607d68f 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -563,7 +563,7 @@ namespace TShockAPI public void OnConfigRead(ConfigFile file) { - NPC.maxSpawns = file.DefaultMaximumSpawns; + NPC.defaultMaxSpawns = file.DefaultMaximumSpawns; NPC.defaultSpawnRate = file.DefaultSpawnRate; Main.autoSave = file.AutoSave;