diff --git a/src/main/java/net/minestom/server/instance/Instance.java b/src/main/java/net/minestom/server/instance/Instance.java index 07f553bda..ec00aa34a 100644 --- a/src/main/java/net/minestom/server/instance/Instance.java +++ b/src/main/java/net/minestom/server/instance/Instance.java @@ -432,7 +432,7 @@ public abstract class Instance implements BlockModifier, Tickable, TagHandler, P @SuppressWarnings("removal") @Deprecated(forRemoval = true) public void setTimeUpdate(@Nullable net.minestom.server.utils.time.UpdateOption timeUpdate) { - setTimeUpdate(timeUpdate.toDuration()); + setTimeUpdate(timeUpdate == null ? null : timeUpdate.toDuration()); } /**