ZOMBIE->SKELETON

fixed an issue where zombie horse spawn eggs were crafted instead of skeleton horse spawn eggs.
This commit is contained in:
Paul Reilly
2020-07-12 18:52:19 -05:00
parent 0f6a8d1041
commit a5c024ee76
4 changed files with 12 additions and 13 deletions

View File

@ -913,8 +913,8 @@ public class Craftable {
}
private void sHorseEgg() {
ShapelessRecipe recipe = util.shapeless(Material.ZOMBIE_HORSE_SPAWN_EGG, "s_horse_egg_recipe");
recipe.addIngredient(2, Material.SKELETON_SPAWN_EGG);
ShapelessRecipe recipe = util.shapeless(Material.SKELETON_HORSE_SPAWN_EGG, "s_horse_egg_recipe");
recipe.addIngredient(1, Material.SKELETON_SPAWN_EGG);
recipe.addIngredient(1, Material.HORSE_SPAWN_EGG);
plugin.server.addRecipe(recipe);
}