Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
updated to forge 1.12-14.21.1.2387, fixed a bug with 2x2 recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
gbl committed Jul 24, 2017
1 parent fc680a8 commit 8df4575
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ apply plugin: 'net.minecraftforge.gradle.forge'
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.


version = "1.12-forge14.21.0.2375-1.1"
version = "1.12-forge14.21.1.2387-1.1"
group = "de.guntram.mcmod.easiercrafting" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "easiercrafting"

Expand All @@ -21,7 +21,7 @@ compileJava {
}

minecraft {
version = "1.12-14.21.0.2375"
version = "1.12-14.21.1.2387"
runDir = "run"

// the mappings can be changed at any time, and must be in the following format.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,10 @@ public void mouseClicked(int mouseX, int mouseY, int mouseButton, int guiLeft, i
Slot invitem=container.inventorySlots.getSlot(slot+firstInventorySlotNo);
ItemStack slotcontent=invitem.getStack();
if (canActAsIngredient(ingr, slotcontent)) {
// System.out.println("craftslot is "+craftslot+", first is "+firstCraftSlot+", rowadjust is "+rowadjust+", transferring "+remaining+" items");
// TODO: && (isempty(craftslot) || ismergeable(slot,craftslot))
transfer(slot+firstInventorySlotNo, craftslot+firstCraftSlot+rowadjust, remaining);
remaining=maxCraftableStacks-container.inventorySlots.getSlot(craftslot+firstCraftSlot).getStack().getCount();
remaining=maxCraftableStacks-container.inventorySlots.getSlot(craftslot+firstCraftSlot+rowadjust).getStack().getCount();
}
}
if (underMouse instanceof ShapedRecipes && ((craftslot+1)%((ShapedRecipes)underMouse).recipeWidth)==0) {
Expand Down

0 comments on commit 8df4575

Please sign in to comment.