don't need this

This commit is contained in:
ElCeejo 2022-09-24 01:20:52 -07:00 committed by GitHub
parent 3dbca468d3
commit ec873b2462
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -426,7 +426,6 @@ function mob:get_wander_pos_3d(min_range, max_range, dir, vert_bias)
end
function mob:is_pos_safe(pos)
local mob_pos = self.object:get_pos()
if not pos then return end
local node = minetest.get_node(pos)
if not node then return false end