Cleanup & small fix

This commit is contained in:
paulevsGitch 2021-12-07 18:20:28 +03:00
parent 6d0b9cbf63
commit daf9bd4c9a

View file

@ -64,7 +64,7 @@ public class HexBiomeMap implements BiomeMap {
offset *= scale;
for (byte i = 0; i < 8; i++) {
if (!getRawBiome(x + offset * EDGE_CIRCLE_X[i], z + offset * EDGE_CIRCLE_Z[i]).isSame(biome)) {
return biome.getEdge();
return edge;
}
}