Remove workaround for missing Bukkit biome data (fix integrated), add spawn point to fullrender seed list
This commit is contained in:
parent
bc17045196
commit
886248e115
2 changed files with 8 additions and 93 deletions
|
|
@ -288,6 +288,14 @@ public class MapManager {
|
|||
renderQueue.add(mt);
|
||||
}
|
||||
}
|
||||
/* Add spawn location too (helps with some worlds where 0,64,0 may not be generated */
|
||||
Location sloc = world.world.getSpawnLocation();
|
||||
for (MapTile mt : map.getTiles(sloc)) {
|
||||
if (!found.getFlag(mt.tileOrdinalX(), mt.tileOrdinalY())) {
|
||||
found.setFlag(mt.tileOrdinalX(), mt.tileOrdinalY(), true);
|
||||
renderQueue.add(mt);
|
||||
}
|
||||
}
|
||||
if(world.seedloc != null) {
|
||||
for(Location seed : world.seedloc) {
|
||||
for (MapTile mt : map.getTiles(seed)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue