1
0
鏡像自 https://github.com/minetest-mods/technic.git 已同步 2025-09-18 13:40:35 +02:00

fix crash in battery mod (missing meta check)

此提交包含在:
Vanessa Ezekowitz
2017-04-11 07:45:31 -04:00
父節點 092ab7e738
當前提交 3f8478086d

查看文件

@@ -253,6 +253,7 @@ function technic.register_battery_box(data)
after_place_node = data.tube and pipeworks.after_place,
after_dig_node = technic.machine_after_dig_node,
on_receive_fields = function(pos, formname, fields, sender)
local meta = minetest.get_meta(pos)
local nodename = minetest.get_node(pos).name
if fields.edit_channel then
minetest.show_formspec(sender:get_player_name(),