Fix StackOverFlow

This commit is contained in:
dordsor21 2021-10-18 17:27:51 +01:00
parent 4e391136c0
commit cb596ee6ea
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -89,7 +89,7 @@ public class LocationOffsetDelegateQueueCoordinator extends DelegateQueueCoordin
public boolean setBiome(int x, int z, @NonNull BiomeType biome) { public boolean setBiome(int x, int z, @NonNull BiomeType biome) {
boolean result = true; boolean result = true;
for (int y = 0; y < 256; y++) { for (int y = 0; y < 256; y++) {
result &= this.setBiome(x, z, biome); result &= this.setBiome(x, y, z, biome);
} }
return result; return result;
} }