Remove workaround for missing Bukkit biome data (fix integrated), add spawn point to fullrender seed list

This commit is contained in:
Mike Primm 2011-09-18 23:37:42 +08:00 committed by mikeprimm
parent bc17045196
commit 886248e115
2 changed files with 8 additions and 93 deletions

View file

@ -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)) {