Fix hasUpdate check

This commit is contained in:
Németh Noel 2021-07-01 15:16:10 +02:00
parent 157eb6357a
commit a5f2705118

View File

@ -179,7 +179,7 @@ public abstract class CustomBlock {
if (updateFrequency == null)
return false;
return !updateFrequency.isZero();
return !updateFrequency.isNegative() && !updateFrequency.isZero();
}