Fix ooops
This commit is contained in:
parent
bcd7f38fa7
commit
ecf72db684
|
@ -234,7 +234,7 @@ local function register_entity(entity_id, mesh, textures, drop, on_rightclick, o
|
||||||
end
|
end
|
||||||
-- Make room in the minecart after the mob dies
|
-- Make room in the minecart after the mob dies
|
||||||
elseif self._passenger then
|
elseif self._passenger then
|
||||||
if math.random(1,20) > 1 then
|
if math.random(1,20) == 1 then
|
||||||
local dead = self._passenger:check_for_death()
|
local dead = self._passenger:check_for_death()
|
||||||
if dead == true then
|
if dead == true then
|
||||||
self._passenger = nil
|
self._passenger = nil
|
||||||
|
|
Loading…
Reference in New Issue