aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/tileentities
diff options
context:
space:
mode:
authorGlease <4586901+Glease@users.noreply.github.com>2024-09-21 16:08:06 +0800
committerGitHub <noreply@github.com>2024-09-21 08:08:06 +0000
commitf2d9894ae381a62e74dd3bb92c4b8c29814aa7d1 (patch)
tree6b4e9bb5f0d00f28db3f3c7179dc1b22e0c2d150 /src/main/java/gregtech/common/tileentities
parentf6077403ccf609422c5cd60575b0599e8cd8ad8e (diff)
downloadGT5-Unofficial-f2d9894ae381a62e74dd3bb92c4b8c29814aa7d1.tar.gz
GT5-Unofficial-f2d9894ae381a62e74dd3bb92c4b8c29814aa7d1.tar.bz2
GT5-Unofficial-f2d9894ae381a62e74dd3bb92c4b8c29814aa7d1.zip
fix me hatch sides not refresh on pasted data (#3241)
Diffstat (limited to 'src/main/java/gregtech/common/tileentities')
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/MTEHatchInputBusME.java2
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/MTEHatchInputME.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/MTEHatchInputBusME.java b/src/main/java/gregtech/common/tileentities/machines/MTEHatchInputBusME.java
index cbfc18ab0b..63e1a264c3 100644
--- a/src/main/java/gregtech/common/tileentities/machines/MTEHatchInputBusME.java
+++ b/src/main/java/gregtech/common/tileentities/machines/MTEHatchInputBusME.java
@@ -322,7 +322,6 @@ public class MTEHatchInputBusME extends MTEHatchInputBus implements IConfigurati
if (!pasteCopiedData(aPlayer, dataStick.stackTagCompound)) return false;
- updateValidGridProxySides();
aPlayer.addChatMessage(new ChatComponentTranslation("GT5U.machines.stocking_bus.loaded"));
return true;
}
@@ -368,6 +367,7 @@ public class MTEHatchInputBusME extends MTEHatchInputBus implements IConfigurati
}
}
setInventorySlotContents(getCircuitSlot(), circuit);
+ updateValidGridProxySides();
return true;
}
diff --git a/src/main/java/gregtech/common/tileentities/machines/MTEHatchInputME.java b/src/main/java/gregtech/common/tileentities/machines/MTEHatchInputME.java
index 251023125a..5fc0156c85 100644
--- a/src/main/java/gregtech/common/tileentities/machines/MTEHatchInputME.java
+++ b/src/main/java/gregtech/common/tileentities/machines/MTEHatchInputME.java
@@ -588,6 +588,7 @@ public class MTEHatchInputME extends MTEHatchInput implements IPowerChannelState
storedFluids[i] = GTUtility.loadFluid(stockingFluids.getCompoundTagAt(i));
}
}
+ updateValidGridProxySides();
return true;
}
@@ -625,7 +626,6 @@ public class MTEHatchInputME extends MTEHatchInput implements IPowerChannelState
if (!pasteCopiedData(aPlayer, dataStick.stackTagCompound)) return false;
- updateValidGridProxySides();
aPlayer.addChatMessage(new ChatComponentTranslation("GT5U.machines.stocking_bus.loaded"));
return true;
}