summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-12 14:11:28 +0100
committermadmaxoft <github@xoft.cz>2014-03-12 14:11:28 +0100
commit5d7df54e35e99d41f69a44c5ea9c78a98fb557d0 (patch)
tree4def0fec12be727f88c4abf45de5879b84acc9e0 /src
parentMoved Lua API registering into a separate function. (diff)
downloadcuberite-5d7df54e35e99d41f69a44c5ea9c78a98fb557d0.tar
cuberite-5d7df54e35e99d41f69a44c5ea9c78a98fb557d0.tar.gz
cuberite-5d7df54e35e99d41f69a44c5ea9c78a98fb557d0.tar.bz2
cuberite-5d7df54e35e99d41f69a44c5ea9c78a98fb557d0.tar.lz
cuberite-5d7df54e35e99d41f69a44c5ea9c78a98fb557d0.tar.xz
cuberite-5d7df54e35e99d41f69a44c5ea9c78a98fb557d0.tar.zst
cuberite-5d7df54e35e99d41f69a44c5ea9c78a98fb557d0.zip
Diffstat (limited to 'src')
-rw-r--r--src/Bindings/LuaState.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Bindings/LuaState.cpp b/src/Bindings/LuaState.cpp
index 1f0549a59..dfc428bbc 100644
--- a/src/Bindings/LuaState.cpp
+++ b/src/Bindings/LuaState.cpp
@@ -742,10 +742,6 @@ void cLuaState::GetStackValue(int a_StackPos, AString & a_Value)
{
a_Value.assign(data, len);
}
- else
- {
- a_Value.clear();
- }
}