suppress warnings

This commit is contained in:
dfsek
2021-05-02 20:42:54 -07:00
parent 35d85f2aa3
commit 89fdfdfb34

View File

@@ -25,6 +25,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:" + id.toLowerCase(Locale.ROOT))) {
FabricWorldAccess fabricWorldAccess = ((FabricWorldAccess) l.getWorld());