re-fix...

This commit is contained in:
Brandon 2020-06-26 21:31:23 -04:00
parent bd9b15466b
commit 5d5c96455d

View File

@ -62,7 +62,7 @@ local function register_splash(name, descr, color, def)
self.object:remove() self.object:remove()
for _,obj in pairs(minetest.get_objects_inside_radius(pos, 4)) do for _,obj in pairs(minetest.get_objects_inside_radius(pos, 4)) do
local entity = obj.get_luaentity() local entity = obj:get_luaentity()
if obj:is_player() or entity._cmi_is_mob then if obj:is_player() or entity._cmi_is_mob then
local pos2 = obj:get_pos() local pos2 = obj:get_pos()