Skip to content

Commit

Permalink
Update IWorldHandler.java
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerS1066 committed Oct 21, 2023
1 parent 6535d6b commit 0c7e08e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void rotateCraft(@NotNull Craft craft, @NotNull MovecraftLocation originP
moveBlockEntity(nativeWorld, rotatedPositions.get(tileHolder.getTilePosition()), tileHolder.getTile());
if (tileHolder.getNextTick() == null)
continue;
final long currentTime = nativeWorld.serverLevelData.getGameTime();
final long currentTime = nativeWorld.K.getGameTime();
nativeWorld.getBlockTicks().schedule(new ScheduledTick<>((Block) tileHolder.getNextTick().type(), rotatedPositions.get(tileHolder.getNextTick().pos()), tileHolder.getNextTick().triggerTick() - currentTime, tileHolder.getNextTick().priority(), tileHolder.getNextTick().subTickOrder()));
}

Expand Down

0 comments on commit 0c7e08e

Please sign in to comment.