1
0
mirror of https://github.com/HybridDog/connected_chests.git synced 2024-12-28 06:00:17 +01:00

automatic update

This commit is contained in:
HybridDog 2015-04-16 20:42:17 +02:00
parent 2e0548ebc5
commit 36a49cc3be

View File

@ -213,9 +213,7 @@ minetest.register_node("connected_chests:chest_right", {
paramtype2 = "facedir", paramtype2 = "facedir",
drop = "", drop = "",
pointable = false, pointable = false,
can_dig = function() diggable = false,
return false
end,
}) })
minetest.register_node("connected_chests:chest_locked_right", { minetest.register_node("connected_chests:chest_locked_right", {
@ -224,9 +222,7 @@ minetest.register_node("connected_chests:chest_locked_right", {
paramtype2 = "facedir", paramtype2 = "facedir",
drop = "", drop = "",
pointable = false, pointable = false,
can_dig = function() diggable = false,
return false
end,
}) })
for _,i in pairs({"chest", "chest_locked"}) do for _,i in pairs({"chest", "chest_locked"}) do
@ -257,7 +253,7 @@ for _,i in pairs({"chest", "chest_locked"}) do
end end
local time = math.floor(tonumber(os.clock()-load_time_start)*100+0.5)/100 local time = math.floor(tonumber(os.clock()-load_time_start)*100+0.5)/100
local msg = "[] loaded after ca. "..time local msg = "[connected_chests] loaded after ca. "..time
if time > 0.05 then if time > 0.05 then
print(msg) print(msg)
else else