forked from VoxeLibre/VoxeLibre
Fix debug line
This commit is contained in:
parent
93f8f2aa3b
commit
c044cf8e74
|
@ -1382,10 +1382,10 @@ end
|
|||
|
||||
-- jump if facing a solid node (not fences or gates)
|
||||
local do_jump = function(self)
|
||||
|
||||
if not self.jump
|
||||
or self.jump_height == 0
|
||||
or self.fly
|
||||
or self.fly_in
|
||||
or (self.child and self.type ~= "monster")
|
||||
or self.order == "stand" then
|
||||
return false
|
||||
|
|
|
@ -453,7 +453,7 @@ local function has_room(self,pos)
|
|||
local p2 = vector.offset(pos,cb[4],cb[5],cb[6])
|
||||
local n = #minetest.find_nodes_in_area(p1,p2,nodes) or 0
|
||||
if r > n then
|
||||
minetest.log("no room for mob "..self.name)
|
||||
minetest.log("warning","[mcl_mobs] No room for mob "..self.name.." at "..minetest.pos_to_string(vector.round(pos)))
|
||||
return false
|
||||
end
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue