Merge pull request #38 from GTNewHorizons/fixes

fix blocking mode and item amount change
This commit is contained in:
Martin Robertz authored and GitHub committed 2022-11-19 17:24:21 +01:00
commit a8d2b12ef9
2 files changed
+14

No files matched your search

@@ -394,6 +394,10 @@ public class GuiFCBaseMonitor extends AEBaseMEGui implements ISortSource, IConfi
final EntityPlayer player = Minecraft.getMinecraft().thePlayer;
if (mouseButton == 3) {
if (this instanceof GuiBaseFluidPatternTerminal
&& ((GuiBaseFluidPatternTerminal) this).container.isCraftingMode()) {
return;
}
if (slot instanceof OptionalSlotFake || slot instanceof SlotFakeCraftingMatrix) {
if (slot.getHasStack()) {
InventoryAction action = InventoryAction.valueOf("SET_PATTERN_VALUE");