forked from VoxeLibre/VoxeLibre
Change hoglin transformation overworld check from -100 to mg_overworld_min
This commit is contained in:
parent
fcf97f114f
commit
76364ea513
|
@ -78,7 +78,7 @@ local hoglin = {
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
do_custom = function(self, dtime)
|
do_custom = function(self, dtime)
|
||||||
if self.object:get_pos().y > -100 then
|
if self.object:get_pos().y > mcl_vars.mg_overworld_min then
|
||||||
if self._zoglin_transform_timer == nil then
|
if self._zoglin_transform_timer == nil then
|
||||||
self._zoglin_transform_timer = 15
|
self._zoglin_transform_timer = 15
|
||||||
elseif self._zoglin_transform_timer <= 0 then
|
elseif self._zoglin_transform_timer <= 0 then
|
||||||
|
|
Loading…
Reference in New Issue