Actually return entered region at OnRegionEntered

This commit is contained in:
Patrikk 2015-07-09 18:39:42 +01:00
parent 89bbbccdab
commit a983d14723
2 changed files with 7 additions and 4 deletions

View file

@ -902,7 +902,7 @@ namespace TShockAPI
if (player.CurrentRegion != null)
{
Hooks.RegionHooks.OnRegionEntered(player);
Hooks.RegionHooks.OnRegionEntered(player, player.CurrentRegion);
}
}
}