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:
2
api.lua
2
api.lua
@ -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
|
||||
|
Reference in New Issue
Block a user