mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-29 10:33:47 +01:00
set_int(nil) bug fix
This commit is contained in:
parent
f060614582
commit
4b3a5d3e01
@ -124,7 +124,7 @@ minetest.register_node("sl_controller:battery_empty", {
|
|||||||
|
|
||||||
after_place_node = function(pos, placer)
|
after_place_node = function(pos, placer)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
meta:set_int("content", nil)
|
meta:set_int("content", 0)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
Loading…
Reference in New Issue
Block a user