Add _cmi_is_mob to mobs

This commit is contained in:
Wuzzy 2019-09-26 18:13:36 +02:00
parent 609b93beac
commit fbdbde85d4

View File

@ -153,6 +153,7 @@ function mobs:register_mob(name, def)
minetest.register_entity(
name,
{
_cmi_is_mob = true,
stepheight = def.stepheight or 0.6,
name = name,
fly = def.fly,