Actually return entered region at OnRegionEntered
This commit is contained in:
parent
89bbbccdab
commit
a983d14723
2 changed files with 7 additions and 4 deletions
|
|
@ -902,7 +902,7 @@ namespace TShockAPI
|
|||
|
||||
if (player.CurrentRegion != null)
|
||||
{
|
||||
Hooks.RegionHooks.OnRegionEntered(player);
|
||||
Hooks.RegionHooks.OnRegionEntered(player, player.CurrentRegion);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue