Port new changes

This commit is contained in:
simibubi 2022-09-23 23:10:21 +02:00
parent 32f72cb614
commit f009c83529

View File

@ -77,7 +77,7 @@ public class ScheduleItemEntityInteraction {
if (directions == null) if (directions == null)
return; return;
boolean onServer = !event.getWorld().isClientSide; boolean onServer = !event.getLevel().isClientSide;
if (train.runtime.paused && !train.runtime.completed) { if (train.runtime.paused && !train.runtime.completed) {
if (onServer) { if (onServer) {