mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Fix set_bone_position regression (error on passing none)
This commit is contained in:
@@ -149,8 +149,9 @@ DeprecatedHandlingMode get_deprecated_handling_mode();
|
||||
* @param message The deprecation method
|
||||
* @param stack_depth How far on the stack to the first user function
|
||||
* (ie: not builtin or core). -1 to disabled.
|
||||
* @param once Log the deprecation warning only once per callsite.
|
||||
*/
|
||||
void log_deprecated(lua_State *L, std::string message, int stack_depth = 1);
|
||||
void log_deprecated(lua_State *L, std::string message, int stack_depth = 1, bool once = false);
|
||||
|
||||
// Safely call string.dump on a function value
|
||||
// (does not pop, leaves one value on stack)
|
||||
|
Reference in New Issue
Block a user