Skip to content

Commit

Permalink
Fix simple mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
HybridDog committed Feb 26, 2018
1 parent 631d4d8 commit 4a521fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4a521fd

Please sign in to comment.