Refactor for new configuration

This commit is contained in:
Chris 2020-12-03 17:43:10 +10:30
parent a03647ce38
commit 9423febd0a
26 changed files with 351 additions and 433 deletions

View file

@ -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))
{