Fixed /rules on console crashing the server
This commit is contained in:
parent
3f8b78d3b7
commit
b1bde376e5
3 changed files with 8 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue