2015-09-29 12:52:06: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-09-29 12:52:06: ERROR[main]: Runtime error from mod 'mesecons' in callback environment_Step(): ...thome/bin/../games/dreambuilder_game/mods/locks/init.lua:235: attempt to call method 'get_inventory' (a nil value)
2015-09-29 12:52:06: ERROR[main]: stack traceback:
2015-09-29 12:52:06: ERROR[main]: ...thome/bin/../games/dreambuilder_game/mods/locks/init.lua:235: in function 'lock_allow_use'
2015-09-29 12:52:06: ERROR[main]: ...mes/dreambuilder_game/mods/locks/shared_locked_chest.lua:104: in function 'allow_metadata_inventory_take'
2015-09-29 12:52:06: ERROR[main]: ...mes/dreambuilder_game/mods/pipeworks/filter-injector.lua:65: in function 'grabAndFire'
2015-09-29 12:52:06: ERROR[main]: ...mes/dreambuilder_game/mods/pipeworks/filter-injector.lua:135: in function 'punch_filter'
2015-09-29 12:52:06: ERROR[main]: ...mes/dreambuilder_game/mods/pipeworks/filter-injector.lua:211: in function 'action_on'
2015-09-29 12:52:06: ERROR[main]: ...es/dreambuilder_game/mods/mesecons/mesecons/internal.lua:189: in function <...es/dreambuilder_game/mods/mesecons/mesecons/internal.lua:184>
2015-09-29 12:52:06: ERROR[main]: ...dreambuilder_game/mods/mesecons/mesecons/actionqueue.lua:90: in function 'execute'
2015-09-29 12:52:06: ERROR[main]: ...dreambuilder_game/mods/mesecons/mesecons/actionqueue.lua:84: in function <...dreambuilder_game/mods/mesecons/mesecons/actionqueue.lua:61>
2015-09-29 12:52:06: ERROR[main]: ...test/minetest_sweethome/bin/../builtin/game/register.lua:355: in function <...test/minetest_sweethome/bin/../builtin/game/register.lua:335>
2015-10-22 20:44:06: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-10-22 20:44:06: ERROR[main]: Lua: Runtime error from mod '' in callback LuaABM::trigger(): ...me/bin/../games/dreambuilder_game/mods/currency/safe.lua:11: attempt to index loc
al 'player' (a nil value)
2015-10-22 20:44:06: ERROR[main]: stack traceback:
2015-10-22 20:44:06: ERROR[main]: ...me/bin/../games/dreambuilder_game/mods/currency/safe.lua:11: in function 'has_safe_privilege'
2015-10-22 20:44:06: ERROR[main]: ...me/bin/../games/dreambuilder_game/mods/currency/safe.lua:46: in function 'can_dig'
2015-10-22 20:44:06: ERROR[main]: ...builder_game/mods/technic/technic/machines/HV/quarry.lua:153: in function 'technic_run'
2015-10-22 20:44:06: ERROR[main]: ...game/mods/technic/technic/machines/switching_station.lua:225: in function 'run_nodes'
2015-10-22 20:44:06: ERROR[main]: ...game/mods/technic/technic/machines/switching_station.lua:231: in function <...game/mods/technic/technic/machines/switching_station.lua:17
7>
local function has_safe_privilege(meta, player)
if player ~= nil then
if player:get_player_name() ~= meta:get_string("owner") then
return false
end
else
return false
end
return true
end
diff --git a/init.lua b/init.lua
index 9a4cac1..3fd3417 100644
--- a/init.lua
+++ b/init.lua
@@ -52,9 +52,15 @@ local function hoe_on_use(itemstack, user, pointed_thing, uses)
-- Check if pointing at dirt:
if minetest.get_item_group(under.name, "soil") ~= 1 then return end
-
+
+ -- check if (wet) soil defined
+ local regN = minetest.registered_nodes
+ if regN[under.name].soil == nil or regN[under.name].soil.wet == nil or regN[under.name].soil.dry == nil then
+ return
+ end
+
-- Turn the node into soil, wear out item and play sound:
- minetest.set_node(pt.under, {name ="farming:soil"})
+ minetest.set_node(pt.under, {name = regN[under.name].soil.dry})
minetest.sound_play("default_dig_crumbly", {pos = pt.under, gain = 0.5})
itemstack:add_wear(65535 / (uses - 1))
return itemstackGreat!VanessaE wrote:Build #20151213-0018: updated a bunch of mods: areas, gloopblocks, mesecons, moreblocks, pipeworks, plantlife, technic, worldedit, xban2. Also updated Shadowzone's player skin.
EDIT: build #20151213-0135, updated item_tweaks
[ ] [ ] [X]
[ ] [X] [X]
[ ] [ ] [ ]
VanessaE wrote:Most commonly, this happens if you're using a build that supports/uses LuaJIT, in which case MT can only use 1-2 GB of your RAM (due to limits in LuaJIT). The 'default' mod won't do that, nor will the titanium or vines mods. If you see an OOM-crash citing one of those mods, ignore what it says - it's probably false.
Users browsing this forum: No registered users and 7 guests