SPIGOT-4842: Dummy recipes should not give AIR as result type

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-05-03 17:41:23 +10:00
parent d90f2f4bfd
commit fb7dd08846
10 changed files with 10 additions and 10 deletions

View File

@@ -13,7 +13,7 @@
+ // CraftBukkit start - Delegate to new parent class with bogus info
public RecipeFireworks(MinecraftKey minecraftkey) {
- super(minecraftkey);
+ super(minecraftkey, "", new ItemStack(Items.FIREWORK_ROCKET, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.GUNPOWDER)));
+ super(minecraftkey, "", new ItemStack(Items.FIREWORK_ROCKET, 3), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.GUNPOWDER)));
}
+ // CraftBukkit end