This commit is contained in:
parent
96454e22ec
commit
1920d8dcc2
1 changed files with 6 additions and 5 deletions
|
@ -10,8 +10,8 @@ public class MapperConfig {
|
||||||
public boolean worldBlacklist;
|
public boolean worldBlacklist;
|
||||||
public List<String> worlds;
|
public List<String> worlds;
|
||||||
|
|
||||||
public int scaleLatitude;
|
public double scaleLatitude;
|
||||||
public int scaleLongitude;
|
public double scaleLongitude;
|
||||||
|
|
||||||
public Coordinates point;
|
public Coordinates point;
|
||||||
|
|
||||||
|
@ -21,12 +21,13 @@ public class MapperConfig {
|
||||||
mapperConfig.worldBlacklist = configuration.getBoolean("worldBlacklist");
|
mapperConfig.worldBlacklist = configuration.getBoolean("worldBlacklist");
|
||||||
mapperConfig.worlds = configuration.getStringList("worlds");
|
mapperConfig.worlds = configuration.getStringList("worlds");
|
||||||
|
|
||||||
mapperConfig.scaleLatitude = configuration.getInt("dimensions.latitude");
|
mapperConfig.scaleLatitude = configuration.getDouble("dimensions.latitude");
|
||||||
mapperConfig.scaleLongitude = configuration.getInt("dimensions.longitude");
|
mapperConfig.scaleLongitude = configuration.getDouble("dimensions.longitude");
|
||||||
|
|
||||||
mapperConfig.point = new Coordinates(
|
mapperConfig.point = new Coordinates(
|
||||||
configuration.getDouble("point.latitude"),
|
configuration.getDouble("point.latitude"),
|
||||||
configuration.getDouble("point.longitude"));
|
configuration.getDouble("point.longitude")
|
||||||
|
);
|
||||||
|
|
||||||
return mapperConfig;
|
return mapperConfig;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue