mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
Fix for swapping a stack with another item that is not of the same stack size. Added some console visualization for testing and added basics of data modeling for inventory, saving soon.
This commit is contained in:
@@ -3139,8 +3139,11 @@ bool Client::SwapItem(const EQEmu::InventorySlot &src, const EQEmu::InventorySlo
|
||||
|
||||
if(res) {
|
||||
Message(0, "Swap success\n");
|
||||
m_inventory.Interrogate();
|
||||
} else {
|
||||
Message(0, "Swap failure!\n");
|
||||
//should kick the player here...
|
||||
|
||||
}
|
||||
|
||||
if(auto_attack && res && recalc_weapon_speed) {
|
||||
|
||||
Reference in New Issue
Block a user