From 901c5327f8070a0fc9566c1c77fb43df680d51b2 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 12 May 2016 12:07:58 +1000 Subject: [PATCH] SPIGOT-2271: Custom furnace experience error --- nms-patches/RecipesFurnace.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nms-patches/RecipesFurnace.patch b/nms-patches/RecipesFurnace.patch index 14adefbeb2..ae1f06f8c6 100644 --- a/nms-patches/RecipesFurnace.patch +++ b/nms-patches/RecipesFurnace.patch @@ -6,8 +6,8 @@ public Map recipes = Maps.newHashMap(); - private Map c = Maps.newHashMap(); + private Map c = Maps.newHashMap(); // PAIL: rename -+ public Map customRecipes = Maps.newHashMap(); // CraftBukkit - add field -+ public Map customExperience = Maps.newHashMap(); // CraftBukkit - add field ++ public Map customRecipes = Maps.newHashMap(); // CraftBukkit - add field ++ public Map customExperience = Maps.newHashMap(); // CraftBukkit - add field public static RecipesFurnace getInstance() { return RecipesFurnace.a; @@ -31,7 +31,7 @@ - Iterator iterator = this.recipes.entrySet().iterator(); + // CraftBukkit start - initialize to customRecipes + boolean vanilla = false; -+ Iterator iterator = this.customRecipes.entrySet().iterator(); ++ Iterator> iterator = this.customRecipes.entrySet().iterator(); + // CraftBukkit end Entry entry; @@ -57,7 +57,7 @@ - Iterator iterator = this.c.entrySet().iterator(); + // CraftBukkit start - initialize to customRecipes + boolean vanilla = false; -+ Iterator iterator = this.customRecipes.entrySet().iterator(); ++ Iterator> iterator = this.customExperience.entrySet().iterator(); + // CraftBukkit end Entry entry;