mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 19:27:31 +01:00
Fix wrong redstone rules of trapped chest
This commit is contained in:
parent
7953d8d1a6
commit
5e397d8611
@ -14,6 +14,9 @@ local open_chests = {}
|
|||||||
local player_chest_open = function(player, pos)
|
local player_chest_open = function(player, pos)
|
||||||
open_chests[player:get_player_name()] = { pos = pos }
|
open_chests[player:get_player_name()] = { pos = pos }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local trapped_chest_mesecons_rules = mesecon.rules.pplate
|
||||||
|
|
||||||
-- To be called if a player closed a chest
|
-- To be called if a player closed a chest
|
||||||
local player_chest_close = function(player)
|
local player_chest_close = function(player)
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
@ -422,8 +425,6 @@ register_chest("chest",
|
|||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|
||||||
local trapped_chest_mesecons_rules = mesecon.rules.pplate
|
|
||||||
|
|
||||||
local traptiles = {
|
local traptiles = {
|
||||||
small = {"mcl_chests_chest_trapped_top.png", "mcl_chests_chest_trapped_bottom.png",
|
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",
|
"mcl_chests_chest_trapped_right.png", "mcl_chests_chest_trapped_left.png",
|
||||||
|
Loading…
Reference in New Issue
Block a user