mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-03 11:06:08 +00:00
Small tweak to warning display and make config variable 'economy-lag-warning' set in ms not ns.
This commit is contained in:
parent
8ebe55a294
commit
6d317fd26d
2 changed files with 4 additions and 2 deletions
|
@ -1081,7 +1081,9 @@ public class Settings implements ISettings
|
|||
|
||||
private long _getEconomyLagWarning()
|
||||
{
|
||||
return config.getLong("economy-lag-warning", 20000000L); // Default to 20ms
|
||||
// Default to 20ms
|
||||
final long value = (long)(config.getDouble("economy-lag-warning", 20.0) * 1000000);
|
||||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue