Get name and prefix use consistent
This commit is contained in:
parent
8607b4596b
commit
a51bfa7cf4
1 changed files with 7 additions and 3 deletions
|
|
@ -413,6 +413,10 @@ public class FlatMap extends MapType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getName() {
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPrefix() {
|
||||||
return prefix;
|
return prefix;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -428,9 +432,9 @@ public class FlatMap extends MapType {
|
||||||
|
|
||||||
public List<String> baseZoomFilePrefixes() {
|
public List<String> baseZoomFilePrefixes() {
|
||||||
ArrayList<String> s = new ArrayList<String>();
|
ArrayList<String> s = new ArrayList<String>();
|
||||||
s.add(getName() + "_128");
|
s.add(getPrefix() + "_128");
|
||||||
if(night_and_day)
|
if(night_and_day)
|
||||||
s.add(getName()+"_day_128");
|
s.add(getPrefix()+"_day_128");
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -508,7 +512,7 @@ public class FlatMap extends MapType {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getKey() {
|
public String getKey() {
|
||||||
return world.world.getName() + "." + map.getName();
|
return world.world.getName() + "." + map.getPrefix();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isHightestBlockYDataNeeded() { return true; }
|
public boolean isHightestBlockYDataNeeded() { return true; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue