Merge branch 'general-devel' into patch-6
This commit is contained in:
commit
efeb8b6167
11 changed files with 160 additions and 19 deletions
|
|
@ -589,6 +589,10 @@ namespace TShockAPI
|
|||
{
|
||||
HelpText = "Creates a reference tables for Terraria data types and the TShock permission system in the server folder."
|
||||
});
|
||||
add(new Command(Permissions.synclocalarea, SyncLocalArea, "sync")
|
||||
{
|
||||
HelpText = "Sends all tiles from the server to the player to resync the client with the actual world state."
|
||||
});
|
||||
#endregion
|
||||
|
||||
add(new Command(Aliases, "aliases")
|
||||
|
|
@ -5312,6 +5316,13 @@ namespace TShockAPI
|
|||
return;
|
||||
}
|
||||
|
||||
private static void SyncLocalArea(CommandArgs args)
|
||||
{
|
||||
args.Player.SendTileSquare((int) args.Player.TileX, (int) args.Player.TileY, 32);
|
||||
args.Player.SendWarningMessage("Sync'd!");
|
||||
return;
|
||||
}
|
||||
|
||||
#endregion General Commands
|
||||
|
||||
#region Cheat Commands
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue