Attempting to fix UnitTests/RegionManagerTest.orderedtest
This commit is contained in:
parent
1547a06ed6
commit
301a6dfadd
2 changed files with 3 additions and 3 deletions
|
|
@ -262,7 +262,7 @@ namespace TShockAPI.DB
|
|||
|
||||
public bool AddRegion(int tx, int ty, int width, int height, string regionname, string worldid)
|
||||
{
|
||||
if (TShock.Regions.GetRegionByName(regionname) != null)
|
||||
if (GetRegionByName(regionname) != null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue