diff --git a/patches/server/0023-Allow-changing-the-tick-rate-of-mob-s-customServerAi.patch b/patches/server/0023-Allow-changing-the-tick-rate-of-mob-s-customServerAi.patch index f8af4c7..33a0204 100644 --- a/patches/server/0023-Allow-changing-the-tick-rate-of-mob-s-customServerAi.patch +++ b/patches/server/0023-Allow-changing-the-tick-rate-of-mob-s-customServerAi.patch @@ -42,7 +42,7 @@ index 5f9f7e325e3e0276f7a475c4a4725cc0e1b54afd..71d60f72d645abe074c0641b027e716a + + @Override + public void setCustomServerAiStepTickRate(int newValue) { -+ com.google.common.base.Preconditions.checkArgument(0 >= newValue, "newValue cannot be less than or equal to zero"); ++ com.google.common.base.Preconditions.checkArgument(newValue > 0, "newValue cannot be less than or equal to zero"); + this.getHandle().customServerAiStepTickRate = newValue; + } + // SparklyPaper end