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:
parent
631d4d83f8
commit
4a521fd913
3
init.lua
3
init.lua
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user