1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-02-09 15:20:34 +01:00

disable is_mob flag, something fishy with mineclonia

This commit is contained in:
tenplus1 2025-01-17 08:08:24 +00:00
parent d7998a9ea7
commit 01e015dc0f

View File

@ -18,7 +18,7 @@ end
-- Global table -- Global table
mobs = { mobs = {
mod = "redo", version = "20250109", mod = "redo", version = "20250117",
spawning_mobs = {}, translate = S, spawning_mobs = {}, translate = S,
node_snow = has(minetest.registered_aliases["mapgen_snow"]) node_snow = has(minetest.registered_aliases["mapgen_snow"])
or has("mcl_core:snow") or has("default:snow") or "air", or has("mcl_core:snow") or has("default:snow") or "air",
@ -3375,7 +3375,7 @@ function mobs:register_mob(name, def)
on_grown = def.on_grown, on_grown = def.on_grown,
on_sound = def.on_sound, on_sound = def.on_sound,
is_mob = true, _hittable_by_projectile = true, -- mineclone thing -- is_mob = true, _hittable_by_projectile = true, -- mineclone thing
on_activate = function(self, staticdata, dtime) on_activate = function(self, staticdata, dtime)
return self:mob_activate(staticdata, def, dtime) return self:mob_activate(staticdata, def, dtime)