Refactor for new configuration
This commit is contained in:
parent
a03647ce38
commit
9423febd0a
26 changed files with 351 additions and 433 deletions
|
|
@ -55,7 +55,7 @@ namespace TShockAPI
|
|||
|
||||
private void OnGemLockToggle(object sender, GetDataHandlers.GemLockToggleEventArgs e)
|
||||
{
|
||||
if (TShock.Config.RegionProtectGemLocks)
|
||||
if (TShock.Config.Settings.RegionProtectGemLocks)
|
||||
{
|
||||
if (!_regionManager.CanBuild(e.X, e.Y, e.Player))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue