Merge pull request #978 from Patrikkk/general-devel

Actually return entered region at OnRegionEntered
This commit is contained in:
White 2015-07-10 11:28:26 +09:30
commit 58c4637021
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);
}
}
}