1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-07-01 07:50:23 +02:00

fix riding gravity

This commit is contained in:
tenplus1
2024-12-13 15:49:52 +00:00
parent c24874a3bf
commit 22d7ea79fd
2 changed files with 2 additions and 3 deletions

View File

@ -2616,7 +2616,7 @@ function mob_class:on_punch(hitter, tflp, tool_capabilities, dir, damage)
if use_mc2 then
enchants = minetest.deserialize(
weapon:get_meta():get_string("mcl_enchanting:enchantments")) or {}
weapon:get_meta():get_string("mcl_enchanting:enchantments")) or {}
end
-- calculate mob damage