Fixes for PR 2397.
- GroupManager now validates core groups in the constructor. - EnsureCoreGroupsPresent -> AssertCoreGroupsPresent. - Fix indentiation in some places. - Clarify the intent of this PR in CHANGELOG.md.
This commit is contained in:
parent
c759af6d49
commit
51348d1806
4 changed files with 34 additions and 9 deletions
|
|
@ -322,7 +322,6 @@ namespace TShockAPI
|
|||
Regions = new RegionManager(DB);
|
||||
UserAccounts = new UserAccountManager(DB);
|
||||
Groups = new GroupManager(DB);
|
||||
Groups.EnsureCoreGroupsPresent();
|
||||
ProjectileBans = new ProjectileManagager(DB);
|
||||
TileBans = new TileManager(DB);
|
||||
RememberedPos = new RememberedPosManager(DB);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue