Move some packets processing to map context
Port From (https://github.com/TrinityCore/TrinityCore/commit/2ea8f5e6fced094f28c45ac84123c85477122567)
This commit is contained in:
@@ -52,7 +52,7 @@ namespace Game
|
||||
_player.DestroyItem(item.GetBagSlot(), item.GetSlot(), true);
|
||||
}
|
||||
|
||||
[WorldPacketHandler(ClientOpcodes.UseToy)]
|
||||
[WorldPacketHandler(ClientOpcodes.UseToy, Processing = PacketProcessing.Inplace)]
|
||||
void HandleUseToy(UseToy packet)
|
||||
{
|
||||
uint itemId = packet.Cast.Misc[0];
|
||||
|
||||
Reference in New Issue
Block a user