Add well known 1.7 biomes only when appropriate version

This commit is contained in:
Mike Primm 2014-08-22 23:48:12 -05:00
parent 3702918a6f
commit ec9ebf2dbb

View File

@ -738,7 +738,7 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
Object[] biomelist = helper.getBiomeBaseList();
/* Loop through list, skipping well known biomes */
for(int i = 0; i < biomelist.length; i++) {
if (BiomeMap.byBiomeID(i) != null) continue;
if (!BiomeMap.byBiomeID(i).isDefault()) continue;
Object bb = biomelist[i];
if(bb != null) {
String id = helper.getBiomeBaseIDString(bb);