Fixed possible crash for nil comparison
This commit is contained in:
parent
7c70cbfceb
commit
615d1e758c
@ -1,4 +1,4 @@
|
||||
local max_stack = tonumber(minetest.settings:get("default_stack_max"))
|
||||
local max_stack = tonumber(minetest.settings:get("default_stack_max")) or 99
|
||||
--*************************************************************************
|
||||
minetest.register_node("stripped_tree:chiseling_machine", {
|
||||
description = "Chiseladora para troncos",
|
||||
|
Loading…
x
Reference in New Issue
Block a user