diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-26 16:36:08 +0200 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-26 16:36:08 +0200 |
commit | 987b6ac1232dbafd50b9a6a26fcf769f5bdcd0a6 (patch) | |
tree | 3f4b98edc89c12f8aa0a96303b32f0b5f5b50dcb /source/UI/SlotArea.cpp | |
parent | Added the block dig animation packet (patch contributed by l0udPL) (diff) | |
download | cuberite-987b6ac1232dbafd50b9a6a26fcf769f5bdcd0a6.tar cuberite-987b6ac1232dbafd50b9a6a26fcf769f5bdcd0a6.tar.gz cuberite-987b6ac1232dbafd50b9a6a26fcf769f5bdcd0a6.tar.bz2 cuberite-987b6ac1232dbafd50b9a6a26fcf769f5bdcd0a6.tar.lz cuberite-987b6ac1232dbafd50b9a6a26fcf769f5bdcd0a6.tar.xz cuberite-987b6ac1232dbafd50b9a6a26fcf769f5bdcd0a6.tar.zst cuberite-987b6ac1232dbafd50b9a6a26fcf769f5bdcd0a6.zip |
Diffstat (limited to 'source/UI/SlotArea.cpp')
-rw-r--r-- | source/UI/SlotArea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/UI/SlotArea.cpp b/source/UI/SlotArea.cpp index 73d26eb27..add1c8f88 100644 --- a/source/UI/SlotArea.cpp +++ b/source/UI/SlotArea.cpp @@ -61,7 +61,7 @@ void cSlotArea::Clicked(cPlayer & a_Player, int a_SlotNum, bool a_IsRightClick, }
cItem Slot(*GetSlot(a_SlotNum, a_Player));
- if (!Slot.IsEqual(a_ClickedItem))
+ if (!Slot.IsSameType(a_ClickedItem))
{
LOGD("*** Window lost sync at item %d in SlotArea with %d items ***", a_SlotNum, m_NumSlots);
LOGD("My item: %s", ItemToFullString(Slot).c_str());
|