Fixed /rules on console crashing the server

This commit is contained in:
ricky 2011-06-15 12:38:08 +10:00
parent 3f8b78d3b7
commit b1bde376e5
3 changed files with 8 additions and 11 deletions

View file

@ -229,7 +229,7 @@ namespace TShockAPI
public static void Rules(CommandArgs args)
{
Tools.ShowFileToUser(args.PlayerID, "rules.txt");
Tools.ShowFileToUser(args.Player, "rules.txt");
}
public static void ToggleAntiBuild(CommandArgs args)