Fix striders not warming up near lava in the nether
This commit is contained in:
parent
0f661515bb
commit
fd6087189a
|
@ -62,7 +62,7 @@ local strider = {
|
||||||
floats = 0,
|
floats = 0,
|
||||||
do_custom = function(self, dtime)
|
do_custom = function(self, dtime)
|
||||||
|
|
||||||
if minetest.find_node_near(self.object:get_pos(), 2, "mcl_core:lava_source") ~= nil or minetest.find_node_near(self.object:get_pos(), 2, "mcl_core:lava_flowing") ~= nil then
|
if minetest.find_node_near(self.object:get_pos(), 2, "mcl_core:lava_source") ~= nil or minetest.find_node_near(self.object:get_pos(), 2, "mcl_core:lava_flowing") ~= nil or minetest.find_node_near(self.object:get_pos(), 2, "mcl_nether:nether_lava_source") ~= nil or minetest.find_node_near(self.object:get_pos(), 2, "mcl_nether:nether_lava_flowing") ~= nil then
|
||||||
self.walk_velocity = 2
|
self.walk_velocity = 2
|
||||||
self.run_velocity = 4
|
self.run_velocity = 4
|
||||||
self.base_texture[1] = "extra_mobs_strider.png"
|
self.base_texture[1] = "extra_mobs_strider.png"
|
||||||
|
|
Loading…
Reference in New Issue