Add the region a player left to OnRegionLeft

This commit is contained in:
Lucas Nicodemus 2015-03-06 22:40:32 -07:00
parent fd2a049ef3
commit adc0f0acfb
2 changed files with 6 additions and 4 deletions

View file

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