Replace RegionHandler.OnGameUpdate with RegionHandler.OnPlayerUpdate

This commit is contained in:
Ivan 2018-05-06 12:18:06 +02:00
parent 0dab238fd3
commit 4d241381be
2 changed files with 51 additions and 62 deletions

View file

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