1
0
mirror of https://github.com/HybridDog/connected_chests.git synced 2024-12-26 21:30:18 +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
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", {
add_open_chest = true,
on_rightclick = function(pos, _, player)