From f009c83529fea8e3b163496693a238fed3aabe89 Mon Sep 17 00:00:00 2001 From: simibubi <31564874+simibubi@users.noreply.github.com> Date: Fri, 23 Sep 2022 23:10:21 +0200 Subject: [PATCH] Port new changes --- .../management/schedule/ScheduleItemEntityInteraction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/logistics/trains/management/schedule/ScheduleItemEntityInteraction.java b/src/main/java/com/simibubi/create/content/logistics/trains/management/schedule/ScheduleItemEntityInteraction.java index 9cd315af5..f2ba64612 100644 --- a/src/main/java/com/simibubi/create/content/logistics/trains/management/schedule/ScheduleItemEntityInteraction.java +++ b/src/main/java/com/simibubi/create/content/logistics/trains/management/schedule/ScheduleItemEntityInteraction.java @@ -77,7 +77,7 @@ public class ScheduleItemEntityInteraction { if (directions == null) return; - boolean onServer = !event.getWorld().isClientSide; + boolean onServer = !event.getLevel().isClientSide; if (train.runtime.paused && !train.runtime.completed) { if (onServer) {