diff options
author | mathiascode <8754153+mathiascode@users.noreply.github.com> | 2017-08-24 11:19:40 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-08-24 11:19:40 +0200 |
commit | 02775e52c43dbc82e08b6af8b87d8f320c05cb73 (patch) | |
tree | 66b9fd743c4e4d04a2ec8d5ffc107585bd2f963a /src/Bindings | |
parent | Added check to deactivate existing entity effects when new entity effects are added. (diff) | |
download | cuberite-02775e52c43dbc82e08b6af8b87d8f320c05cb73.tar cuberite-02775e52c43dbc82e08b6af8b87d8f320c05cb73.tar.gz cuberite-02775e52c43dbc82e08b6af8b87d8f320c05cb73.tar.bz2 cuberite-02775e52c43dbc82e08b6af8b87d8f320c05cb73.tar.lz cuberite-02775e52c43dbc82e08b6af8b87d8f320c05cb73.tar.xz cuberite-02775e52c43dbc82e08b6af8b87d8f320c05cb73.tar.zst cuberite-02775e52c43dbc82e08b6af8b87d8f320c05cb73.zip |
Diffstat (limited to 'src/Bindings')
-rw-r--r-- | src/Bindings/LuaState.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h index ffcddcfe8..8014f40d4 100644 --- a/src/Bindings/LuaState.h +++ b/src/Bindings/LuaState.h @@ -665,7 +665,7 @@ public: bool GetStackValue(int a_StackPos, T & a_ReturnedVal, typename std::enable_if<std::is_integral<T>::value>::type * unused = nullptr) { UNUSED(unused); - if (!lua_isnumber(m_LuaState, a_StackPos)) // Also accepts strings representing a number: http://pgl.yoyo.org/luai/i/lua_isnumber + if (!lua_isnumber(m_LuaState, a_StackPos)) // Also accepts strings representing a number: https://pgl.yoyo.org/luai/i/lua_isnumber { return false; } |