Remove nil fields from trapped chest definition

This commit is contained in:
Mikita Wiśniewski 2024-06-28 19:43:20 +07:00 committed by the-real-herowl
parent c1e9e4b1a2
commit 508bc19f6a

View file

@ -101,14 +101,10 @@ mcl_chests.register_chest("trapped_chest", {
}) })
mcl_chests.register_chest("trapped_chest_on", { mcl_chests.register_chest("trapped_chest_on", {
desc = nil,
title = { title = {
small = S("Chest"), small = S("Chest"),
double = S("Large Chest") double = S("Large Chest")
}, },
longdesc = nil,
usagehelp = nil,
tt_help = nil,
tiles = traptiles, tiles = traptiles,
groups = { groups = {
handy = 1, handy = 1,
@ -126,9 +122,6 @@ mcl_chests.register_chest("trapped_chest_on", {
rules = mesecon.rules.pplate, rules = mesecon.rules.pplate,
}, },
}, },
on_rightclick = nil,
on_rightclick_left = nil,
on_rightclick_right = nil,
drop = "trapped_chest", drop = "trapped_chest",
canonical_basename = "trapped_chest" canonical_basename = "trapped_chest"
}) })