Replace RegionHandler.OnGameUpdate with RegionHandler.OnPlayerUpdate
This commit is contained in:
parent
0dab238fd3
commit
4d241381be
2 changed files with 51 additions and 62 deletions
|
|
@ -324,7 +324,7 @@ namespace TShockAPI
|
|||
RestManager = new RestManager(RestApi);
|
||||
RestManager.RegisterRestfulCommands();
|
||||
Bouncer = new Bouncer();
|
||||
RegionSystem = new RegionHandler(this, DB);
|
||||
RegionSystem = new RegionHandler(Regions);
|
||||
|
||||
var geoippath = "GeoIP.dat";
|
||||
if (Config.EnableGeoIP && File.Exists(geoippath))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue