diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java index 04fea7c0b9..73a8188e59 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java @@ -585,7 +585,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity { @Override public void setFreezeTicks(int ticks) { - Preconditions.checkArgument(0 <= ticks && ticks <= getMaxFreezeTicks(), "Ticks cannot be less than 0 or greater than getMaxFreezeTicks"); + Preconditions.checkArgument(0 <= ticks, "Ticks cannot be less than 0"); getHandle().setTicksFrozen(ticks); }