parent
db10bf22e7
commit
4802ebed91
2 changed files with 5 additions and 1 deletions
|
|
@ -57,7 +57,10 @@ namespace TShockAPI
|
|||
{
|
||||
if (TShock.Config.RegionProtectGemLocks)
|
||||
{
|
||||
e.Handled = true;
|
||||
if (!_regionManager.CanBuild(e.X, e.Y, e.Player))
|
||||
{
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue