From 09b0017cb9ce08a8226dee5bd1e45523af2de896 Mon Sep 17 00:00:00 2001 From: Milan2018 Date: Sat, 25 Apr 2020 12:45:21 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Aktualizovat=20=E2=80=9Ebasic=5Fmachines/te?= =?UTF-8?q?chnic=5Fpower.lua=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- basic_machines/technic_power.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basic_machines/technic_power.lua b/basic_machines/technic_power.lua index 0b2c212..c755206 100644 --- a/basic_machines/technic_power.lua +++ b/basic_machines/technic_power.lua @@ -275,7 +275,7 @@ minetest.register_node("basic_machines:battery_0", { insert_object = function(pos, node, stack, direction) local meta = minetest.get_meta(pos) local inv = meta:get_inventory() - return inv:add_item("upgrade", stack) + return inv:add_item("fuel", stack) end, can_insert = function(pos, node, stack, direction) local meta = minetest.get_meta(pos) @@ -283,7 +283,7 @@ minetest.register_node("basic_machines:battery_0", { if meta:get_int("split_material_stacks") == 1 then stack = stack:peek_item(1) end - return inv:room_for_item("upgrade", stack) + return inv:room_for_item("fuel", stack) end, input_inventory = "fuel", connect_sides = {left = 1, right = 1, back = 1, front = 1, bottom = 1, top = 1} -- 2.25.1 From 631f57db07a38b5aa1694036287d1d56f2babca3 Mon Sep 17 00:00:00 2001 From: Milan Meduna Date: Wed, 20 May 2020 21:26:06 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Aktualizovat=20=E2=80=9Edebug-errors.txt?= =?UTF-8?q?=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debug-errors.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debug-errors.txt b/debug-errors.txt index 200123e..be0dd15 100644 --- a/debug-errors.txt +++ b/debug-errors.txt @@ -65,3 +65,11 @@ netest/mods/mobs/api.lua:689: bad argument #2 to 'random' (interval is empty) 2020-04-24 09:08:03: ERROR[Main]: /home/minetest/.minetest/mods/mobs/api.lua:769: in function 'check_for_death' 2020-04-24 09:08:03: ERROR[Main]: /home/minetest/.minetest/mods/mobs/api.lua:971: in function 'do_env_damage' 2020-04-24 09:08:03: ERROR[Main]: /home/minetest/.minetest/mods/mobs/api.lua:3237: in function + + +2020-05-20 21:24:05: WARNING[Main]: ServerEnv: Trying to store id = 0 statically but block (19,1,-31) already contains 132 objects. +2020-05-20 21:24:08: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '??' in callback on_playerReceiveFields(): (load):1: attempt to concatenate a nil value +2020-05-20 21:24:08: ERROR[Main]: stack traceback: +2020-05-20 21:24:08: ERROR[Main]: (load):1: in function 'show_formspec' +2020-05-20 21:24:08: ERROR[Main]: (load):1: in function '?' +2020-05-20 21:24:08: ERROR[Main]: /usr/share/minetest/builtin/game/register.lua:420: in function \ No newline at end of file -- 2.25.1