Added sweet berries death messages.

This commit is contained in:
CyberMango 2023-01-01 23:52:35 +02:00
parent 17e02aec3c
commit 5e969ba928
2 changed files with 6 additions and 1 deletions

@ -149,6 +149,11 @@ mcl_death_messages = {
plain = "@1 went off with a bang",
item = "@1 went off with a bang due to a firework fired from @3 by @2", -- order is intentional
},
sweet_berry = {
_translator = S,
plain = "@1 died a sweet death",
assist = "@1 was poked to death by a sweet berry bush whilst trying to escape @2",
},
-- Missing snowballs: The Minecraft wiki mentions them but the MC source code does not.
},
}

@ -51,7 +51,7 @@ for i=0, 3 do
minetest.record_protection_violation(pos, pn)
return itemstack
end
if 3 ~= i and mcl_dye and
if 3 ~= i and mcl_dye and
clicker:get_wielded_item():get_name() == "mcl_bone_meal:bone_meal" then
mcl_dye.apply_bone_meal({under=pos},clicker)
if not minetest.is_creative_enabled(pn) then