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 List<String> worlds;
|
||||
|
||||
public int scaleLatitude;
|
||||
public int scaleLongitude;
|
||||
public double scaleLatitude;
|
||||
public double scaleLongitude;
|
||||
|
||||
public Coordinates point;
|
||||
|
||||
|
@ -21,12 +21,13 @@ public class MapperConfig {
|
|||
mapperConfig.worldBlacklist = configuration.getBoolean("worldBlacklist");
|
||||
mapperConfig.worlds = configuration.getStringList("worlds");
|
||||
|
||||
mapperConfig.scaleLatitude = configuration.getInt("dimensions.latitude");
|
||||
mapperConfig.scaleLongitude = configuration.getInt("dimensions.longitude");
|
||||
mapperConfig.scaleLatitude = configuration.getDouble("dimensions.latitude");
|
||||
mapperConfig.scaleLongitude = configuration.getDouble("dimensions.longitude");
|
||||
|
||||
mapperConfig.point = new Coordinates(
|
||||
configuration.getDouble("point.latitude"),
|
||||
configuration.getDouble("point.longitude"));
|
||||
configuration.getDouble("point.longitude")
|
||||
);
|
||||
|
||||
return mapperConfig;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue