Skip to content

Commit

Permalink
Fix item pipes not working for the first 40 ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n committed Sep 17, 2024
1 parent 8dd6de2 commit 59dc74a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
import java.util.List;

public class TickHelper {
private static long tickCounter = 0;
// Start counter way above 0 so that newly placed pipes (with a last tick of 0) always do work on their first tick.
private static long tickCounter = 1000;
private static List<Runnable> delayedActions = new ArrayList<>();
private static List<Runnable> delayedActions2 = new ArrayList<>();

Expand Down

0 comments on commit 59dc74a

Please sign in to comment.