Fix comments in past versions of MapChunkCache. Despite the comment pointing to the wrong field (BiomeFog::e), it was using the right method (BiomeFog::e()) all along
This commit is contained in:
parent
bd1bad44ea
commit
24cb2c86a5
5 changed files with 5 additions and 5 deletions
|
|
@ -93,7 +93,7 @@ public class MapChunkCache121_10 extends GenericMapChunkCache {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getFoliageColor(BiomeMap bm, int[] colormap, int x, int z) {
|
public int getFoliageColor(BiomeMap bm, int[] colormap, int x, int z) {
|
||||||
return bm.<BiomeBase>getBiomeObject().map(BiomeBase::i).flatMap(BiomeFog::e).orElse(colormap[bm.biomeLookup()]); // BiomeBase::getSpecialEffects ; BiomeFog::skyColor
|
return bm.<BiomeBase>getBiomeObject().map(BiomeBase::i).flatMap(BiomeFog::e).orElse(colormap[bm.biomeLookup()]); // BiomeBase::getSpecialEffects ; BiomeFog::getFoliageColorOverride
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ public class MapChunkCache121_3 extends GenericMapChunkCache {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getFoliageColor(BiomeMap bm, int[] colormap, int x, int z) {
|
public int getFoliageColor(BiomeMap bm, int[] colormap, int x, int z) {
|
||||||
return bm.<BiomeBase>getBiomeObject().map(BiomeBase::h).flatMap(BiomeFog::e).orElse(colormap[bm.biomeLookup()]); // BiomeBase::getSpecialEffects, BiomeFog::skyColor
|
return bm.<BiomeBase>getBiomeObject().map(BiomeBase::h).flatMap(BiomeFog::e).orElse(colormap[bm.biomeLookup()]); // BiomeBase::getSpecialEffects, BiomeFog::getFoliageColorOverride
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ public class MapChunkCache121_4 extends GenericMapChunkCache {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getFoliageColor(BiomeMap bm, int[] colormap, int x, int z) {
|
public int getFoliageColor(BiomeMap bm, int[] colormap, int x, int z) {
|
||||||
return bm.<BiomeBase>getBiomeObject().map(BiomeBase::h).flatMap(BiomeFog::e).orElse(colormap[bm.biomeLookup()]); // BiomeBase::getSpecialEffects, BiomeFog::skyColor
|
return bm.<BiomeBase>getBiomeObject().map(BiomeBase::h).flatMap(BiomeFog::e).orElse(colormap[bm.biomeLookup()]); // BiomeBase::getSpecialEffects, BiomeFog::getFoliageColorOverride
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ public class MapChunkCache121_5 extends GenericMapChunkCache {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getFoliageColor(BiomeMap bm, int[] colormap, int x, int z) {
|
public int getFoliageColor(BiomeMap bm, int[] colormap, int x, int z) {
|
||||||
return bm.<BiomeBase>getBiomeObject().map(BiomeBase::i).flatMap(BiomeFog::e).orElse(colormap[bm.biomeLookup()]); // BiomeBase::getSpecialEffects ; BiomeFog::skyColor
|
return bm.<BiomeBase>getBiomeObject().map(BiomeBase::i).flatMap(BiomeFog::e).orElse(colormap[bm.biomeLookup()]); // BiomeBase::getSpecialEffects ; BiomeFog::getFoliageColorOverride
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ public class MapChunkCache121_6 extends GenericMapChunkCache {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getFoliageColor(BiomeMap bm, int[] colormap, int x, int z) {
|
public int getFoliageColor(BiomeMap bm, int[] colormap, int x, int z) {
|
||||||
return bm.<BiomeBase>getBiomeObject().map(BiomeBase::i).flatMap(BiomeFog::e).orElse(colormap[bm.biomeLookup()]); // BiomeBase::getSpecialEffects ; BiomeFog::skyColor
|
return bm.<BiomeBase>getBiomeObject().map(BiomeBase::i).flatMap(BiomeFog::e).orElse(colormap[bm.biomeLookup()]); // BiomeBase::getSpecialEffects ; BiomeFog::getFoliageColorOverride
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue