diff options
author | botn365 <42187820+botn365@users.noreply.github.com> | 2021-02-26 04:35:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-26 04:35:15 +0100 |
commit | 1c4806d0c259a54f710071ba80bbd28b1c37ac67 (patch) | |
tree | 9e66a6b2e416a247b947fdbe5e53f7149cbbe028 /src | |
parent | 028ab4af3dfdfb61d5d7312ea11e083af031ca0a (diff) | |
download | GT5-Unofficial-1c4806d0c259a54f710071ba80bbd28b1c37ac67.tar.gz GT5-Unofficial-1c4806d0c259a54f710071ba80bbd28b1c37ac67.tar.bz2 GT5-Unofficial-1c4806d0c259a54f710071ba80bbd28b1c37ac67.zip |
fix running asslinecrash on data hatch break
fix that when a fully formed assline with data hatch and when the data hatch would be replaced the onRunningTick would crash and stop the assline from ticking the recipe progression
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_AssemblyLine.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_AssemblyLine.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_AssemblyLine.java index c90df2a7a7..c13d537119 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_AssemblyLine.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_AssemblyLine.java @@ -253,6 +253,7 @@ public class GT_MetaTileEntity_AssemblyLine } public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack aStack) { + mDataAccessHatches.clear(); int xDir = ForgeDirection.getOrientation(aBaseMetaTileEntity.getBackFacing()).offsetX; int zDir = ForgeDirection.getOrientation(aBaseMetaTileEntity.getBackFacing()).offsetZ; if (xDir != 0) { @@ -435,4 +436,4 @@ public class GT_MetaTileEntity_AssemblyLine public boolean explodesOnComponentBreak(ItemStack aStack) { return false; } -}
\ No newline at end of file +} |