summaryrefslogtreecommitdiffstats
path: root/src/UI/SlotArea.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-07-26 16:46:07 +0200
committerMattes D <github@xoft.cz>2014-07-26 16:46:07 +0200
commit3a6b3a16b8f4bdcc9468940428cf11f60e29c9ba (patch)
tree832b5e4ac6fb940a5effa310e858d7454dcf4f41 /src/UI/SlotArea.h
parentGit: Ignore AllFiles.lst (generated by cmake) (diff)
parentChange comment. (diff)
downloadcuberite-3a6b3a16b8f4bdcc9468940428cf11f60e29c9ba.tar
cuberite-3a6b3a16b8f4bdcc9468940428cf11f60e29c9ba.tar.gz
cuberite-3a6b3a16b8f4bdcc9468940428cf11f60e29c9ba.tar.bz2
cuberite-3a6b3a16b8f4bdcc9468940428cf11f60e29c9ba.tar.lz
cuberite-3a6b3a16b8f4bdcc9468940428cf11f60e29c9ba.tar.xz
cuberite-3a6b3a16b8f4bdcc9468940428cf11f60e29c9ba.tar.zst
cuberite-3a6b3a16b8f4bdcc9468940428cf11f60e29c9ba.zip
Diffstat (limited to 'src/UI/SlotArea.h')
-rw-r--r--src/UI/SlotArea.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UI/SlotArea.h b/src/UI/SlotArea.h
index 7f37159b7..fa842bb81 100644
--- a/src/UI/SlotArea.h
+++ b/src/UI/SlotArea.h
@@ -161,7 +161,7 @@ public:
/** Called when a player clicks in the window. Parameters taken from the click packet. */
virtual void Clicked(cPlayer & a_Player, int a_SlotNum, eClickAction a_ClickAction, const cItem & a_ClickedItem) override;
- bool CanPlaceInSlot(int a_SlotNum, const cItem & a_Item);
+ static bool CanPlaceArmorInSlot(int a_SlotNum, const cItem & a_Item);
} ;