Changed /maxspawns to point to defaultMaxSpawns
This commit is contained in:
parent
0f063cfa11
commit
0e50d37522
1 changed files with 1 additions and 1 deletions
|
|
@ -511,7 +511,7 @@ namespace TShockAPI
|
|||
int ply = args.PlayerID;
|
||||
int amount = Convert.ToInt32(args.Message.Remove(0, 10));
|
||||
int.TryParse(args.Message.Remove(0, 10), out amount);
|
||||
NPC.defaultSpawnRate = amount;
|
||||
NPC.defaultMaxSpawns = amount;
|
||||
Tools.Broadcast(Tools.FindPlayer(ply) + " changed the maximum spawns to: " + amount);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue