Begin 1.11 (compiles, does not run yet)

This commit is contained in:
mezz committed 2017-02-08 00:52:37 -08:00
1 parent 5310003659
commit 424fdaaf48
164 files changed
+1396 -1312

No files matched your search

@@ -148,10 +148,10 @@ public abstract class Designer {
if (playerInv.getItemStack() == null) {
playerInv.setItemStack(this.doRecipe(true));
} else if (playerInv.getItemStack().isItemEqual(recipe) && ItemStack.areItemStackTagsEqual(playerInv.getItemStack(), recipe)) {
final int fit = recipe.getMaxStackSize() - (recipe.stackSize + playerInv.getItemStack().stackSize);
final int fit = recipe.getMaxStackSize() - (recipe.getCount() + playerInv.getItemStack().getCount());
if (fit >= 0) {
this.doRecipe(true);
recipe.stackSize += playerInv.getItemStack().stackSize;
recipe.grow(playerInv.getItemStack().getCount());
playerInv.setItemStack(recipe);
}
}