From 5e397d8611fc4260d2c0dd62eda20378b81a5a51 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 27 Jan 2018 00:50:04 +0100 Subject: [PATCH] Fix wrong redstone rules of trapped chest --- mods/ITEMS/mcl_chests/init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_chests/init.lua b/mods/ITEMS/mcl_chests/init.lua index ca469015..fd00c8d6 100644 --- a/mods/ITEMS/mcl_chests/init.lua +++ b/mods/ITEMS/mcl_chests/init.lua @@ -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",