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:
parent
2e0548ebc5
commit
36a49cc3be
10
init.lua
10
init.lua
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user