mirror of
				https://codeberg.org/tenplus1/mobs_redo.git
				synced 2025-11-04 09:15:32 +01:00 
			
		
		
		
	disable is_mob flag, something fishy with mineclonia
This commit is contained in:
		
							
								
								
									
										4
									
								
								api.lua
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								api.lua
									
									
									
									
									
								
							@@ -18,7 +18,7 @@ end
 | 
			
		||||
-- Global table
 | 
			
		||||
 | 
			
		||||
mobs = {
 | 
			
		||||
	mod = "redo", version = "20250109",
 | 
			
		||||
	mod = "redo", version = "20250117",
 | 
			
		||||
	spawning_mobs = {}, translate = S,
 | 
			
		||||
	node_snow = has(minetest.registered_aliases["mapgen_snow"])
 | 
			
		||||
			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_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)
 | 
			
		||||
			return self:mob_activate(staticdata, def, dtime)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user