Make sure to clear _passenger after expelling mobs
This commit is contained in:
parent
bf9ad1919e
commit
48c380ca0b
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user