mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-15 21:31:05 +00:00
suppress warnings
This commit is contained in:
@@ -25,6 +25,7 @@ public class FabricTree implements Tree {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@SuppressWarnings("try")
|
||||||
public boolean plant(Location l, Random r) {
|
public boolean plant(Location l, Random r) {
|
||||||
try(ProfileFrame ignore = TerraFabricPlugin.getInstance().getProfiler().profile("fabric_tree:" + id.toLowerCase(Locale.ROOT))) {
|
try(ProfileFrame ignore = TerraFabricPlugin.getInstance().getProfiler().profile("fabric_tree:" + id.toLowerCase(Locale.ROOT))) {
|
||||||
FabricWorldAccess fabricWorldAccess = ((FabricWorldAccess) l.getWorld());
|
FabricWorldAccess fabricWorldAccess = ((FabricWorldAccess) l.getWorld());
|
||||||
|
|||||||
Reference in New Issue
Block a user