This commit is contained in:
GlodBlock committed 2022-11-15 15:30:47 +08:00
1 parent b6b3467251
commit e4749970ef
2 files changed
+6 -2

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");
@@ -184,7 +184,7 @@ public class FluidConvertingInventoryAdaptor extends InventoryAdaptor {
@Override
public boolean containsItems() {
if (invFluids == null && invItems == null) {
// If this entity doesn't has fluid or item inventory, we just view it as full of things.
// If this entity doesn't have fluid or item inventory, we just view it as full of things.
return true;
}
if (invFluids != null && invFluids.getTankInfo(this.side) != null) {
@@ -227,7 +227,7 @@ public class FluidConvertingInventoryAdaptor extends InventoryAdaptor {
}
}
if (!hasTank && invItems == null) {
// If this entity doesn't has fluid or item inventory, we just view it as full of things.
// If this entity doesn't have fluid or item inventory, we just view it as full of things.
return true;
}
}