Make sure to clear _passenger after expelling mobs

This commit is contained in:
teknomunk 2024-12-29 07:04:39 -06:00 committed by the-real-herowl
parent bf9ad1919e
commit 48c380ca0b

View file

@ -13,6 +13,7 @@ local function activate_normal_minecart(self)
if self._passenger then if self._passenger then
local mob = self._passenger.object local mob = self._passenger.object
mob:set_detach() mob:set_detach()
self._passenger = nil
end end
end end