diff options
author | Lane Kolbly <lane@rscheme.org> | 2017-07-07 05:27:04 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-07-10 05:46:04 +0200 |
commit | a561886bf39ef49bcf6ea5488be833bd23e2edef (patch) | |
tree | 4fc7f3e0f68f3c7a07bbb0eaf8954482a360ac4d /src/Entities/Player.h | |
parent | cItemGrid bounds check (#3837) (diff) | |
download | cuberite-a561886bf39ef49bcf6ea5488be833bd23e2edef.tar cuberite-a561886bf39ef49bcf6ea5488be833bd23e2edef.tar.gz cuberite-a561886bf39ef49bcf6ea5488be833bd23e2edef.tar.bz2 cuberite-a561886bf39ef49bcf6ea5488be833bd23e2edef.tar.lz cuberite-a561886bf39ef49bcf6ea5488be833bd23e2edef.tar.xz cuberite-a561886bf39ef49bcf6ea5488be833bd23e2edef.tar.zst cuberite-a561886bf39ef49bcf6ea5488be833bd23e2edef.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index dc8f07823..95b21ec9a 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -404,7 +404,10 @@ public: void SendExperience(void); /** In UI windows, get the item that the player is dragging */ - cItem & GetDraggingItem(void) {return m_DraggingItem; } + cItem & GetDraggingItem(void) {return m_DraggingItem; } // tolua_export + + /** In UI windows, set the item that the player is dragging */ + void SetDraggingItem(const cItem & a_Item); // tolua_export // In UI windows, when inventory-painting: /** Clears the list of slots that are being inventory-painted. To be used by cWindow only */ |