diff options
author | Mattes D <github@xoft.cz> | 2016-09-08 23:06:38 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-09-08 23:06:38 +0200 |
commit | c83b051c1a3e68fc9315ffffb277dc3da86cf02a (patch) | |
tree | ebeaecdae03270828bfd67a5e3ded584f0c74989 | |
parent | APIDump: Removed trailing whitespace. (diff) | |
download | cuberite-c83b051c1a3e68fc9315ffffb277dc3da86cf02a.tar cuberite-c83b051c1a3e68fc9315ffffb277dc3da86cf02a.tar.gz cuberite-c83b051c1a3e68fc9315ffffb277dc3da86cf02a.tar.bz2 cuberite-c83b051c1a3e68fc9315ffffb277dc3da86cf02a.tar.lz cuberite-c83b051c1a3e68fc9315ffffb277dc3da86cf02a.tar.xz cuberite-c83b051c1a3e68fc9315ffffb277dc3da86cf02a.tar.zst cuberite-c83b051c1a3e68fc9315ffffb277dc3da86cf02a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/ManualBindings.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp index 038c67995..b68abb536 100644 --- a/src/Bindings/ManualBindings.cpp +++ b/src/Bindings/ManualBindings.cpp @@ -1315,8 +1315,9 @@ static int tolua_cPluginManager_ForEachConsoleCommand(lua_State * tolua_S) static int tolua_cPluginManager_BindCommand(lua_State * a_LuaState) { /* Function signatures: - cPluginManager:BindCommand(Command, Permission, Function, HelpString) - cPluginManager.BindCommand(Command, Permission, Function, HelpString) -- without the "self" param + cPluginManager:Get():BindCommand(Command, Permission, Function, HelpString) -- regular + cPluginManager:BindCommand(Command, Permission, Function, HelpString) -- static + cPluginManager.BindCommand(Command, Permission, Function, HelpString) -- without the "self" param */ cLuaState L(a_LuaState); cPluginLua * Plugin = cManualBindings::GetLuaPlugin(L); @@ -1379,8 +1380,9 @@ static int tolua_cPluginManager_BindCommand(lua_State * a_LuaState) static int tolua_cPluginManager_BindConsoleCommand(lua_State * a_LuaState) { /* Function signatures: - cPluginManager:BindConsoleCommand(Command, Function, HelpString) - cPluginManager.BindConsoleCommand(Command, Function, HelpString) -- without the "self" param + cPluginManager:Get():BindConsoleCommand(Command, Function, HelpString) -- regular + cPluginManager:BindConsoleCommand(Command, Function, HelpString) -- static + cPluginManager.BindConsoleCommand(Command, Function, HelpString) -- without the "self" param */ // Get the plugin identification out of LuaState: |