fix: infusion workbench now doesn't create borked item stacks

closes #1
This commit is contained in:
LordMZTE 2023-01-13 16:25:39 +01:00
parent da9e5f01da
commit 6992b986ab
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -111,7 +111,9 @@ public class ContainerInfusionWorkbench extends Container {
this.tileEntity.getStackInSlot(10), this.ip.player, rec.getCost()
)
&& this.tileEntity.doSourcesMatch(rec.getAspects())) {
this.tileEntity.setInventorySlotContentsSoftly(9, rec.getRecipeOutput());
this.tileEntity.setInventorySlotContentsSoftly(
9, rec.getCraftingResult(bridge)
);
}
}
}
@ -176,13 +178,4 @@ public class ContainerInfusionWorkbench extends Container {
}
return var2;
}
public ItemStack slotClick(
final int par1,
final int par2,
final int par3,
final EntityPlayer par4EntityPlayer
) {
return super.slotClick(par1, par2, par3, par4EntityPlayer);
}
}