update castles, cottages, digistuff, gloopblocks, locks,

maptools, mesecons, pipeworks, technic, unified inventory,
unified dyes, and xban2
This commit is contained in:
Vanessa Dannenberg
2018-08-03 09:31:05 -04:00
parent 76594f4bd5
commit 2fa93b219e
99 changed files with 4820 additions and 1827 deletions

View File

@@ -28,7 +28,9 @@ technic.chests.can_dig = function(pos, player)
end
local function inv_change(pos, count, player)
if not default.can_interact_with_node(player, pos) then
-- Skip check for pipeworks (fake player)
if minetest.is_player(player) and
not default.can_interact_with_node(player, pos) then
return 0
end
return count

View File

@@ -15,3 +15,11 @@ dofile(modpath.."/silver_chest.lua")
dofile(modpath.."/gold_chest.lua")
dofile(modpath.."/mithril_chest.lua")
minetest.register_lbm({
name = "technic_chests:fix_wooden_chests",
nodenames = {"default:chest"},
action = function(pos, node)
local meta = minetest.get_meta(pos)
meta:set_string("formspec", "")
end
})