diff options
author | daniel0916 <theschokolps@gmail.com> | 2014-04-13 13:33:47 +0200 |
---|---|---|
committer | daniel0916 <theschokolps@gmail.com> | 2014-04-13 13:33:47 +0200 |
commit | 1429d2f1b1802e1be5f5551df890562b4a014342 (patch) | |
tree | c4a31ded4bfdf98d9e447439aa1eea695a5a2301 /src/UI/SlotArea.cpp | |
parent | Merge remote-tracking branch 'upstream/master' into Enchanting (diff) | |
download | cuberite-1429d2f1b1802e1be5f5551df890562b4a014342.tar cuberite-1429d2f1b1802e1be5f5551df890562b4a014342.tar.gz cuberite-1429d2f1b1802e1be5f5551df890562b4a014342.tar.bz2 cuberite-1429d2f1b1802e1be5f5551df890562b4a014342.tar.lz cuberite-1429d2f1b1802e1be5f5551df890562b4a014342.tar.xz cuberite-1429d2f1b1802e1be5f5551df890562b4a014342.tar.zst cuberite-1429d2f1b1802e1be5f5551df890562b4a014342.zip |
Diffstat (limited to '')
-rw-r--r-- | src/UI/SlotArea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UI/SlotArea.cpp b/src/UI/SlotArea.cpp index d43b91700..352558d9e 100644 --- a/src/UI/SlotArea.cpp +++ b/src/UI/SlotArea.cpp @@ -647,7 +647,7 @@ void cSlotAreaEnchanting::ClickedResult(cPlayer & a_Player) m_ParentWindow.SetProperty(1, 0, a_Player); m_ParentWindow.SetProperty(2, 0, a_Player); } - else if (a_Player.GetDraggingItem().IsEnchantable) + else if (cItem::IsEnchantable(a_Player.GetDraggingItem().m_ItemType)) { int PosX = 0; int PosY = 0; |