mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-08 08:21:50 +01:00
Fix hasUpdate check
This commit is contained in:
parent
157eb6357a
commit
a5f2705118
@ -179,7 +179,7 @@ public abstract class CustomBlock {
|
||||
if (updateFrequency == null)
|
||||
return false;
|
||||
|
||||
return !updateFrequency.isZero();
|
||||
return !updateFrequency.isNegative() && !updateFrequency.isZero();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user