Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
TechDudie committed Apr 1, 2021
1 parent 831489d commit ddfcafd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions extra_mobs/strider.lua
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ local strider = {
local wielditem = clicker:get_wielded_item()

local controlitem = ""
if minetest.get_modpath("mc") then
controlitem = "mc:warped_fungus_stick"
else
controlitem = mobs_mc.items.carrot_on_a_stick
end
if minetest.get_modpath("mc_warped_fungus_stick") then
controlitem = "mc_warped_fungus_stick:warped_fungus_stick"
else
controlitem = mobs_mc.items.carrot_on_a_stick
end
if wielditem:get_name() ~= controlitem then
if mobs:feed_tame(self, clicker, 1, true, true) then return end
end
Expand Down

0 comments on commit ddfcafd

Please sign in to comment.