diff options
author | Mattes D <github@xoft.cz> | 2014-07-26 16:46:07 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-07-26 16:46:07 +0200 |
commit | 3a6b3a16b8f4bdcc9468940428cf11f60e29c9ba (patch) | |
tree | 832b5e4ac6fb940a5effa310e858d7454dcf4f41 /src/UI/SlotArea.h | |
parent | Git: Ignore AllFiles.lst (generated by cmake) (diff) | |
parent | Change comment. (diff) | |
download | cuberite-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.h | 2 |
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); } ; |