mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 16:55:09 +00:00
Fix wrong redstone rules of trapped chest
This commit is contained in:
parent
7953d8d1a6
commit
5e397d8611
1 changed files with 3 additions and 2 deletions
|
@ -14,6 +14,9 @@ local open_chests = {}
|
|||
local player_chest_open = function(player, pos)
|
||||
open_chests[player:get_player_name()] = { pos = pos }
|
||||
end
|
||||
|
||||
local trapped_chest_mesecons_rules = mesecon.rules.pplate
|
||||
|
||||
-- To be called if a player closed a chest
|
||||
local player_chest_close = function(player)
|
||||
local name = player:get_player_name()
|
||||
|
@ -422,8 +425,6 @@ register_chest("chest",
|
|||
false
|
||||
)
|
||||
|
||||
local trapped_chest_mesecons_rules = mesecon.rules.pplate
|
||||
|
||||
local traptiles = {
|
||||
small = {"mcl_chests_chest_trapped_top.png", "mcl_chests_chest_trapped_bottom.png",
|
||||
"mcl_chests_chest_trapped_right.png", "mcl_chests_chest_trapped_left.png",
|
||||
|
|
Loading…
Reference in a new issue