summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-12 13:05:28 +0100
committermadmaxoft <github@xoft.cz>2014-03-12 13:05:28 +0100
commit0c15fdf7b05ee6ad0705b2a789f6b709bbde2733 (patch)
tree69db118c8a6f19f443400fe8cf4e98d1f95428f7 /src/Bindings/PluginLua.cpp
parentMerge remote-tracking branch 'origin/SnowBall' (diff)
downloadcuberite-0c15fdf7b05ee6ad0705b2a789f6b709bbde2733.tar
cuberite-0c15fdf7b05ee6ad0705b2a789f6b709bbde2733.tar.gz
cuberite-0c15fdf7b05ee6ad0705b2a789f6b709bbde2733.tar.bz2
cuberite-0c15fdf7b05ee6ad0705b2a789f6b709bbde2733.tar.lz
cuberite-0c15fdf7b05ee6ad0705b2a789f6b709bbde2733.tar.xz
cuberite-0c15fdf7b05ee6ad0705b2a789f6b709bbde2733.tar.zst
cuberite-0c15fdf7b05ee6ad0705b2a789f6b709bbde2733.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/PluginLua.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/PluginLua.cpp b/src/Bindings/PluginLua.cpp
index 45c8216be..cccbc3c93 100644
--- a/src/Bindings/PluginLua.cpp
+++ b/src/Bindings/PluginLua.cpp
@@ -75,6 +75,7 @@ bool cPluginLua::Initialize(void)
if (!m_LuaState.IsValid())
{
m_LuaState.Create();
+ m_LuaState.RegisterAPILibs();
// Inject the identification global variables into the state:
lua_pushlightuserdata(m_LuaState, this);