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

Commit

Permalink
fixed mass storage auto outputting when taped
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed May 29, 2024
1 parent 4ed3af4 commit 06a0f2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public void onFirstTick() {
@Override
public void serverTick(Level level, BlockPos pos, BlockState state) {
super.serverTick(level, pos, state);
if (output && level.getGameTime() % 10 == 0){
if (getMachineState() != MachineState.ACTIVE && output && level.getGameTime() % 10 == 0){
processItemOutput(ItemStack.EMPTY, false);
}
if (syncSlots){
Expand Down

0 comments on commit 06a0f2a

Please sign in to comment.