mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-22 22:14:57 +00:00
Don't calculate bytes per megabyte at runtime... This will never change.
This commit is contained in:
parent
4d48b857a7
commit
9f9bc31438
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||||
|
|
||||||
@CommandPermissions(level = AdminLevel.SUPER, source = SourceType.BOTH)
|
@CommandPermissions(level = AdminLevel.SUPER, source = SourceType.BOTH)
|
||||||
public class Command_health extends FreedomCommand {
|
public class Command_health extends FreedomCommand {
|
||||||
private static final int BYTES_PER_MB = 1024 * 1024;
|
private static final int BYTES_PER_MB = 1048576;
|
||||||
private static final DoubleRange TPS_RANGE = new DoubleRange(20.0 - 0.1, 20.0 + 0.1);
|
private static final DoubleRange TPS_RANGE = new DoubleRange(20.0 - 0.1, 20.0 + 0.1);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue