[SPIGOT-946] Begin making use of access transforms to simplify patching.
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -9,8 +9,7 @@
|
||||
public class CraftingManager {
|
||||
|
||||
private static final CraftingManager a = new CraftingManager();
|
||||
- private final List<IRecipe> recipes = Lists.newArrayList();
|
||||
+ public List<IRecipe> recipes = Lists.newArrayList(); // CraftBukkit - public, removed final
|
||||
public List<IRecipe> recipes = Lists.newArrayList();
|
||||
+ // CraftBukkit start
|
||||
+ public IRecipe lastRecipe;
|
||||
+ public org.bukkit.inventory.InventoryView lastCraftView;
|
||||
@@ -21,7 +20,7 @@
|
||||
}
|
||||
|
||||
- private CraftingManager() {
|
||||
+ public CraftingManager() { // CraftBukkit - public
|
||||
+ public CraftingManager() { // PAIL: Public
|
||||
(new RecipesTools()).a(this);
|
||||
(new RecipesWeapons()).a(this);
|
||||
(new RecipeIngots()).a(this);
|
||||
|
||||
Reference in New Issue
Block a user