summaryrefslogtreecommitdiffstats
path: root/source/Inventory.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-06 21:00:03 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-06 21:00:03 +0200
commit770486d2e11356951aaabcae53995b924eaf8510 (patch)
treee81c1f5651b352771fc75a1ad0c5cf3c813c87c1 /source/Inventory.cpp
parentFixed player respawning crashing the server. (diff)
downloadcuberite-770486d2e11356951aaabcae53995b924eaf8510.tar
cuberite-770486d2e11356951aaabcae53995b924eaf8510.tar.gz
cuberite-770486d2e11356951aaabcae53995b924eaf8510.tar.bz2
cuberite-770486d2e11356951aaabcae53995b924eaf8510.tar.lz
cuberite-770486d2e11356951aaabcae53995b924eaf8510.tar.xz
cuberite-770486d2e11356951aaabcae53995b924eaf8510.tar.zst
cuberite-770486d2e11356951aaabcae53995b924eaf8510.zip
Diffstat (limited to 'source/Inventory.cpp')
-rw-r--r--source/Inventory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Inventory.cpp b/source/Inventory.cpp
index c35a6c5d0..5ed2e0763 100644
--- a/source/Inventory.cpp
+++ b/source/Inventory.cpp
@@ -73,11 +73,11 @@ bool cInventory::AddItem( cItem & a_Item )
return false;
}
- for(unsigned int i = 0; i < c_NumSlots; i++)
+ for (unsigned int i = 0; i < c_NumSlots; i++)
{
- if( ChangedSlots[i] )
+ if (ChangedSlots[i])
{
- LOG("Item was added to %i ID:%i Count:%i", i, m_Slots[i].m_ItemID, m_Slots[i].m_ItemCount );
+ LOGD("cInventory::AddItem(): Item was added to %i ID:%i Count:%i", i, m_Slots[i].m_ItemID, m_Slots[i].m_ItemCount);
SendSlot(i);
}
}