Bump tectonic version

This commit is contained in:
dfsek
2020-12-02 15:29:07 -07:00
parent 496cd486b1
commit 7db83c1dee
3 changed files with 3 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ dependencies {
implementation("net.jafama:jafama:2.3.2")
implementation(name = "Tectonic-0.1.0", group = "")
implementation(name = "Tectonic-1.0.0", group = "")
// JUnit.

View File

@@ -101,8 +101,9 @@ public class UserDefinedCarver extends Carver {
if(!((UserDefinedBiome) biome).getConfig().getCarvers().containsKey(this)) { // Stop if we enter a biome this carver is not present in
continue z;
}
if(FastMath.floorDiv(origin.getBlockX(), 16) != chunkX && FastMath.floorDiv(origin.getBlockZ(), 16) != chunkZ)
if(FastMath.floorDiv(origin.getBlockX(), 16) != chunkX && FastMath.floorDiv(origin.getBlockZ(), 16) != chunkZ) { // Only carve in the current chunk.
continue;
}
points.add(carving.getPoint());
}
points.forEach(point -> point.carve(chunkX, chunkZ, consumer));