From 0c7e08e5f17052c9296753fa56ea57da44fdc679 Mon Sep 17 00:00:00 2001 From: TylerS1066 Date: Sat, 21 Oct 2023 11:01:34 -0500 Subject: [PATCH] Update IWorldHandler.java --- .../countercraft/movecraft/compat/v1_20_R2/IWorldHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/v1_20_R2/src/main/java/net/countercraft/movecraft/compat/v1_20_R2/IWorldHandler.java b/modules/v1_20_R2/src/main/java/net/countercraft/movecraft/compat/v1_20_R2/IWorldHandler.java index 9f038d11e..cada2608e 100644 --- a/modules/v1_20_R2/src/main/java/net/countercraft/movecraft/compat/v1_20_R2/IWorldHandler.java +++ b/modules/v1_20_R2/src/main/java/net/countercraft/movecraft/compat/v1_20_R2/IWorldHandler.java @@ -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())); }