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

Fix simple mistake

This commit is contained in:
Hybrid Dog 2018-02-26 20:31:41 +01:00
parent 631d4d83f8
commit 4a521fd913

View File

@ -483,7 +483,8 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
return true return true
end) end)
local chest_lid_obstructed = default.chest.chest_lid_obstructed local chest_lid_obstructed = default.chest
and default.chest.chest_lid_obstructed
connected_chests.register_chest("default:chest", { connected_chests.register_chest("default:chest", {
add_open_chest = true, add_open_chest = true,
on_rightclick = function(pos, _, player) on_rightclick = function(pos, _, player)