@@ -50,15 +50,15 @@
|
||||
};
|
||||
this.resultContainer = new InventoryCraftResult();
|
||||
this.access = containeraccess;
|
||||
@@ -106,6 +135,7 @@
|
||||
}
|
||||
|
||||
@@ -94,6 +123,7 @@
|
||||
});
|
||||
this.addStandardInventorySlots(playerinventory, 8, 84);
|
||||
this.addDataSlot(this.selectedRecipeIndex);
|
||||
+ player = (Player) playerinventory.player.getBukkitEntity(); // CraftBukkit
|
||||
}
|
||||
|
||||
public int getSelectedRecipeIndex() {
|
||||
@@ -126,6 +156,7 @@
|
||||
@@ -114,6 +144,7 @@
|
||||
|
||||
@Override
|
||||
public boolean stillValid(EntityHuman entityhuman) {
|
||||
@@ -66,3 +66,12 @@
|
||||
return stillValid(this.access, entityhuman, Blocks.STONECUTTER);
|
||||
}
|
||||
|
||||
@@ -154,7 +185,7 @@
|
||||
}
|
||||
|
||||
void setupResultSlot(int i) {
|
||||
- Optional optional;
|
||||
+ Optional<RecipeHolder<RecipeStonecutting>> optional; // CraftBukkit - decompile error
|
||||
|
||||
if (!this.recipesForInput.isEmpty() && this.isValidRecipeIndex(i)) {
|
||||
SelectableRecipe.a<RecipeStonecutting> selectablerecipe_a = (SelectableRecipe.a) this.recipesForInput.entries().get(i);
|
||||
|
||||
Reference in New Issue
Block a user