interpolator resolutions

This commit is contained in:
dfsek
2021-04-13 11:07:44 -07:00
parent 111f6b05ba
commit 798f3423a5
5 changed files with 24 additions and 10 deletions
@@ -30,7 +30,7 @@ public class PopulationManager extends BlockPopulator {
this.main = main;
}
@SuppressWarnings("unchecked")
@SuppressWarnings({"unchecked", "ResultOfMethodCallIgnored"})
public synchronized void saveBlocks(World w) throws IOException {
File f = new File(Gaea.getGaeaFolder(w), "chunks.bin");
f.createNewFile();
@@ -23,6 +23,7 @@ public class FabricTree implements Tree {
}
@Override
@SuppressWarnings("try")
public boolean plant(Location l, Random r) {
try(ProfileFrame ignore = TerraFabricPlugin.getInstance().getProfiler().profile("fabric_tree:" + delegate.toString().toLowerCase(Locale.ROOT))) {
FabricWorldAccess fabricWorldAccess = ((FabricWorldAccess) l.getWorld());