Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/ By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
21
paper-server/nms-patches/RecipeFireworks.patch
Normal file
21
paper-server/nms-patches/RecipeFireworks.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
--- ../work/decompile-bb26c12b/net/minecraft/server/RecipeFireworks.java 2014-11-27 08:59:46.873421089 +1100
|
||||
+++ src/main/java/net/minecraft/server/RecipeFireworks.java 2014-11-27 08:42:10.088851036 +1100
|
||||
@@ -3,11 +3,15 @@
|
||||
import com.google.common.collect.Lists;
|
||||
import java.util.ArrayList;
|
||||
|
||||
-public class RecipeFireworks implements IRecipe {
|
||||
+public class RecipeFireworks extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
|
||||
|
||||
private ItemStack a;
|
||||
-
|
||||
- public RecipeFireworks() {}
|
||||
+
|
||||
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
||||
+ public RecipeFireworks() {
|
||||
+ super(new ItemStack(Items.FIREWORKS, 0, 0), java.util.Arrays.asList(new ItemStack(Items.GUNPOWDER, 0, 5)));
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
|
||||
public boolean a(InventoryCrafting inventorycrafting, World world) {
|
||||
this.a = null;
|
||||
Reference in New Issue
Block a user