Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
Added start and end processing calls to NA onPostTick item access (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
minecraft7771 authored Sep 26, 2022
1 parent 331423b commit 33681ff
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
super.onPostTick(aBaseMetaTileEntity, aTick);
boolean anyWorking = false;
if (aBaseMetaTileEntity.isServerSide()) {

startRecipeProcessing();
for (ItemStack input : getStoredInputs()) {
if (input.isItemEqual(Materials.Graphite.getDust(1))
|| input.isItemEqual(Materials.Beryllium.getDust(1))) {
Expand Down Expand Up @@ -318,6 +318,7 @@ public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
this.mOutputFluids = null;
this.mOutputItems = new ItemStack[] {ItemRefer.Radioactive_Waste.get(4)};
}
endRecipeProcessing();
}
}

Expand Down

0 comments on commit 33681ff

Please sign in to comment.