Updated sln

Added configuration stuff
Code freeze: v1.3.0.0
This commit is contained in:
Shank 2011-06-01 21:11:53 -06:00
parent 2e7980f650
commit 864a3df125
2 changed files with 2 additions and 33 deletions

View file

@ -122,6 +122,8 @@ namespace TShockAPI
ConfigurationManager.permaPvp = Convert.ToBoolean(configuration[9]);
ConfigurationManager.kickTnt = Convert.ToBoolean(configuration[10]);
ConfigurationManager.banTnt = Convert.ToBoolean(configuration[11]);
NPC.defaultMaxSpawns = ConfigurationManager.defaultMaxSpawns;
NPC.defaultSpawnRate = ConfigurationManager.defaultSpawnRate;
}
catch (Exception e)
{