Add saddle, fix mob texture names

This commit is contained in:
Wuzzy 2017-01-20 21:09:29 +01:00
parent 7ac1d3ec35
commit 709079f407
12 changed files with 13 additions and 7 deletions

View file

@ -58,7 +58,7 @@ mobs:register_mob("mobs_mc:pig", {
end
local item = clicker:get_wielded_item()
if item:get_name() == "mobs:saddle" and self.saddle ~= "yes" then
if item:get_name() == "mcl_mobitems:saddle" and self.saddle ~= "yes" then
self.object:set_properties({
textures = {"mobs_pig_with_saddle.png"},
})
@ -69,7 +69,7 @@ mobs:register_mob("mobs_mc:pig", {
chance = 1,
min = 1,
max = 3,},
{name = "mobs:saddle",
{name = "mcl_mobitems:saddle",
chance = 1,
min = 1,
max = 1,},