mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-11-29 07:46:52 +01:00
fix onReceiveMail notification:
https://github.com/TwistedScorpio/Nostalrius/issues/53
This commit is contained in:
@@ -114,7 +114,7 @@ bool Mailbox::sendItem(Item* item) const
|
||||
if (g_game.internalMoveItem(item->getParent(), depotLocker, INDEX_WHEREEVER,
|
||||
item, item->getItemCount(), nullptr, FLAG_NOLIMIT) == RETURNVALUE_NOERROR) {
|
||||
g_game.transformItem(item, item->getID() + 1);
|
||||
player->onReceiveMail();
|
||||
player->onReceiveMail(town->getID());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user