geforkt von Mirrors/Paper
SPIGOT-2271: Custom furnace experience error
Dieser Commit ist enthalten in:
Ursprung
e22506f964
Commit
901c5327f8
@ -6,8 +6,8 @@
|
||||
public Map<ItemStack, ItemStack> recipes = Maps.newHashMap();
|
||||
- private Map<ItemStack, Float> c = Maps.newHashMap();
|
||||
+ private Map<ItemStack, Float> c = Maps.newHashMap(); // PAIL: rename
|
||||
+ public Map customRecipes = Maps.newHashMap(); // CraftBukkit - add field
|
||||
+ public Map customExperience = Maps.newHashMap(); // CraftBukkit - add field
|
||||
+ public Map<ItemStack,ItemStack> customRecipes = Maps.newHashMap(); // CraftBukkit - add field
|
||||
+ public Map<ItemStack,Float> 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<Entry<ItemStack, ItemStack>> 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<Entry<ItemStack, Float>> iterator = this.customExperience.entrySet().iterator();
|
||||
+ // CraftBukkit end
|
||||
|
||||
Entry entry;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren