mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-05 10:20:53 +01:00
SPIGOT-4842: Dummy recipes should not give AIR as result type
This commit is contained in:
parent
8ddb94da62
commit
84c2f4d1ab
@ -10,7 +10,7 @@
|
||||
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
||||
public RecipeArmorDye(MinecraftKey minecraftkey) {
|
||||
- super(minecraftkey);
|
||||
+ super(minecraftkey, "", new ItemStack(Items.LEATHER_HELMET, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.BONE_MEAL)));
|
||||
+ super(minecraftkey, "", new ItemStack(Items.LEATHER_HELMET), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.BONE_MEAL)));
|
||||
}
|
||||
+ // CraftBukkit end
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
||||
public RecipeBannerDuplicate(MinecraftKey minecraftkey) {
|
||||
- super(minecraftkey);
|
||||
+ super(minecraftkey, "", new ItemStack(Items.WHITE_BANNER, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.WHITE_BANNER)));
|
||||
+ super(minecraftkey, "", new ItemStack(Items.WHITE_BANNER), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.WHITE_BANNER)));
|
||||
}
|
||||
+ // CraftBukkit end
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
||||
public RecipeBookClone(MinecraftKey minecraftkey) {
|
||||
- super(minecraftkey);
|
||||
+ super(minecraftkey, "", new ItemStack(Items.WRITTEN_BOOK, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.WRITABLE_BOOK)));
|
||||
+ super(minecraftkey, "", new ItemStack(Items.WRITTEN_BOOK), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.WRITABLE_BOOK)));
|
||||
}
|
||||
+ // CraftBukkit end
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
||||
public RecipeFireworksFade(MinecraftKey minecraftkey) {
|
||||
- super(minecraftkey);
|
||||
+ super(minecraftkey, "", new ItemStack(Items.FIREWORK_STAR, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.FIREWORK_STAR, Items.BONE_MEAL)));
|
||||
+ super(minecraftkey, "", new ItemStack(Items.FIREWORK_STAR), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.FIREWORK_STAR, Items.BONE_MEAL)));
|
||||
}
|
||||
+ // CraftBukkit end
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
||||
public RecipeFireworksStar(MinecraftKey minecraftkey) {
|
||||
- super(minecraftkey);
|
||||
+ super(minecraftkey, "", new ItemStack(Items.FIREWORK_STAR, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.GUNPOWDER)));
|
||||
+ super(minecraftkey, "", new ItemStack(Items.FIREWORK_STAR), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.GUNPOWDER)));
|
||||
}
|
||||
+ // CraftBukkit end
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
+ // CraftBukkit start - Delegate to new parent class
|
||||
public RecipeMapClone(MinecraftKey minecraftkey) {
|
||||
- super(minecraftkey);
|
||||
+ super(minecraftkey, "", new ItemStack(Items.MAP, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.MAP)));
|
||||
+ super(minecraftkey, "", new ItemStack(Items.MAP), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.MAP)));
|
||||
}
|
||||
+ // CraftBukkit end
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
||||
public RecipeShulkerBox(MinecraftKey minecraftkey) {
|
||||
- super(minecraftkey);
|
||||
+ super(minecraftkey, "", new ItemStack(Blocks.WHITE_SHULKER_BOX, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.BONE_MEAL)));
|
||||
+ super(minecraftkey, "", new ItemStack(Blocks.WHITE_SHULKER_BOX), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.BONE_MEAL)));
|
||||
}
|
||||
+ // CraftBukkit end
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
||||
public RecipeSuspiciousStew(MinecraftKey minecraftkey) {
|
||||
- super(minecraftkey);
|
||||
+ super(minecraftkey, "", new ItemStack(Items.SUSPICIOUS_STEW, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.BOWL)));
|
||||
+ super(minecraftkey, "", new ItemStack(Items.SUSPICIOUS_STEW), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.BOWL)));
|
||||
}
|
||||
+ // CraftBukkit end
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
||||
public RecipiesShield(MinecraftKey minecraftkey) {
|
||||
- super(minecraftkey);
|
||||
+ super(minecraftkey, "", new ItemStack(Items.SHIELD, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.WHITE_BANNER)));
|
||||
+ super(minecraftkey, "", new ItemStack(Items.SHIELD), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.WHITE_BANNER)));
|
||||
}
|
||||
+ // CraftBukkit end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user