Checking whether a point is in a region no longer requires to region to be protected.
Renamed some methods to conform to C# conventions.
This commit is contained in:
parent
502afb4e6f
commit
2e5eaae0b3
3 changed files with 13 additions and 14 deletions
|
|
@ -1967,6 +1967,8 @@ namespace TShockAPI
|
|||
|
||||
if (action == EditAction.KillTile && !Main.tileCut[tile.type] && !breakableTiles.Contains(tile.type))
|
||||
{
|
||||
//TPlayer.mount.Type 8 => Drill Containment Unit.
|
||||
|
||||
// If the tile is an axe tile and they aren't selecting an axe, they're hacking.
|
||||
if (Main.tileAxe[tile.type] && ((args.Player.TPlayer.mount.Type != 8 && selectedItem.axe == 0) && !ItemID.Sets.Explosives[selectedItem.netID] && args.Player.RecentFuse == 0))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue