Skip to content

Commit

Permalink
Test potential fix
Browse files Browse the repository at this point in the history
  • Loading branch information
drfiveminusmint committed Sep 11, 2024
1 parent 8415bf4 commit de7a250
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,11 @@ public void translateCraft(@NotNull Craft craft, @NotNull MovecraftLocation disp

//get the nextTick to move with the tile
ScheduledTick tickHere = tickProvider.getNextTick(nativeWorld, position);
if (tickHere != null) {
while (tickHere != null) {
((LevelChunkTicks) nativeWorld.getChunkAt(position).getBlockTicks()).removeIf(
(Predicate<ScheduledTick>) scheduledTick -> scheduledTick.equals(tickHere));
ticks.add(new TickHolder(tickHere, position));
tickHere = tickProvider.getNextTick(nativeWorld, position);
}

}
Expand Down

0 comments on commit de7a250

Please sign in to comment.