0
0
Fork 0

Correct splash potions to hit players

This commit is contained in:
Brandon 2020-06-30 20:54:07 -04:00
parent 9301e03b52
commit d3c9006e6e
1 changed files with 3 additions and 1 deletions

View File

@ -360,8 +360,10 @@ function mcl_potions.is_obj_hit(self, pos)
if entity and entity.name ~= self.object:get_luaentity().name then if entity and entity.name ~= self.object:get_luaentity().name then
if object:is_player() or entity._cmi_is_mob then return true end if entity._cmi_is_mob then return true end
elseif object:is_player() then
return true
end end
end end