fix/suppress warnings

This commit is contained in:
dfsek
2021-07-17 21:59:48 -07:00
parent bc96006c4b
commit a2dac6dfca
2 changed files with 2 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ public class FeatureGenerationStage implements TerraGenerationStage {
}
@Override
@SuppressWarnings("try")
public void populate(World world, Chunk chunk) {
TerraWorld terraWorld = main.getWorld(world);
try(ProfileFrame ignore = main.getProfiler().profile("feature")) {