Remove some redundant code
This commit is contained in:
parent
672d360e9d
commit
290fe1a1da
1 changed files with 3 additions and 2 deletions
|
|
@ -1054,10 +1054,11 @@ namespace TShockAPI
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (TShock.CheckRangePermission(args.Player, realx, realy))
|
// Server now has a range check built in
|
||||||
|
/*if (TShock.CheckRangePermission(args.Player, realx, realy))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}*/
|
||||||
if ((tile.type == 128 && newtile.Type == 128) || (tile.type == 105 && newtile.Type == 105))
|
if ((tile.type == 128 && newtile.Type == 128) || (tile.type == 105 && newtile.Type == 105))
|
||||||
{
|
{
|
||||||
if (TShock.Config.EnableInsecureTileFixes)
|
if (TShock.Config.EnableInsecureTileFixes)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue