A deal for world edit client makers to use SendTileSquare.

This commit is contained in:
Zidonuke 2011-12-29 21:28:37 -05:00
parent 6aba5ca624
commit 77d3ec431e
2 changed files with 6 additions and 1 deletions

View file

@ -376,7 +376,9 @@ namespace TShockAPI
private static bool HandleSendTileSquare(GetDataHandlerArgs args)
{
if (args.Player.Group.HasPermission(Permissions.allowclientsideworldedit))
return false;
var size = args.Data.ReadInt16();
var tileX = args.Data.ReadInt32();
var tileY = args.Data.ReadInt32();

View file

@ -175,6 +175,9 @@ namespace TShockAPI
[Description("Bypass Server Side Inventory checks")]
public static readonly string bypassinventorychecks;
[Description("Allow unrestricted Send Tile Square usage, for client side world editing")]
public static readonly string allowclientsideworldedit;
static Permissions()