mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-27 16:02:32 +00:00
[trunk] New config property: nether.ratio, defaults to 16.
Please update use1to1ratio to ratio: 1.0 git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1378 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
14b53db85a
commit
dae0ce78d1
4 changed files with 13 additions and 33 deletions
|
@ -471,6 +471,14 @@ public class Settings implements IConf
|
|||
return config.getBoolean("nether.use-1to1-ratio", false);
|
||||
}
|
||||
|
||||
public double getNetherRatio()
|
||||
{
|
||||
if (config.getBoolean("nether.use-1to1-ratio", false)) {
|
||||
return 1.0;
|
||||
}
|
||||
return config.getDouble("nether.ratio", 16.0);
|
||||
}
|
||||
|
||||
public boolean isDebug()
|
||||
{
|
||||
return config.getBoolean("debug", false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue