diff options
author | Mattes D <github@xoft.cz> | 2016-06-10 21:30:07 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-06-27 20:51:50 +0200 |
commit | fb4c3fc4d9325c28b8640f0e717e5e320334a7c6 (patch) | |
tree | b1d7eef0cb2311acc421eb5e2abae68139e9b250 /src/Entities | |
parent | Removed the cPluginLua::cResettable class. (diff) | |
download | cuberite-fb4c3fc4d9325c28b8640f0e717e5e320334a7c6.tar cuberite-fb4c3fc4d9325c28b8640f0e717e5e320334a7c6.tar.gz cuberite-fb4c3fc4d9325c28b8640f0e717e5e320334a7c6.tar.bz2 cuberite-fb4c3fc4d9325c28b8640f0e717e5e320334a7c6.tar.lz cuberite-fb4c3fc4d9325c28b8640f0e717e5e320334a7c6.tar.xz cuberite-fb4c3fc4d9325c28b8640f0e717e5e320334a7c6.tar.zst cuberite-fb4c3fc4d9325c28b8640f0e717e5e320334a7c6.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/Player.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 2f1e892dc..f6e9da45e 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -224,11 +224,11 @@ public: cWindow * GetWindow(void) { return m_CurrentWindow; } // tolua_export const cWindow * GetWindow(void) const { return m_CurrentWindow; } - /** Opens the specified window; closes the current one first using CloseWindow() */ - void OpenWindow(cWindow * a_Window); // Exported in ManualBindings.cpp - // tolua_begin + /** Opens the specified window; closes the current one first using CloseWindow() */ + void OpenWindow(cWindow * a_Window); + /** Closes the current window, resets current window to m_InventoryWindow. A plugin may refuse the closing if a_CanRefuse is true */ void CloseWindow(bool a_CanRefuse = true); |