Core/Player: moved zone/area updating and tavern resting checks into Heartbeat and movement updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/e14648eaba40bf821b2245c71a0fee3a88dfdba5)
This commit is contained in:
@@ -245,7 +245,7 @@ namespace Game
|
||||
{
|
||||
// set resting flag we are in the inn
|
||||
if (packet.Entered)
|
||||
player.GetRestMgr().SetRestFlag(RestFlag.Tavern, atEntry.Id);
|
||||
player.GetRestMgr().SetInnTriggerID(atEntry.Id);
|
||||
else
|
||||
player.GetRestMgr().RemoveRestFlag(RestFlag.Tavern);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user