Addess some deprecation warnings

This commit is contained in:
glowredman authored and Martin Robertz committed 2023-12-29 13:26:43 +01:00
1 parent 331c8a8c7b
commit 646988aae8
6 files changed
+6 -1

No files matched your search

@@ -71,6 +71,7 @@ public class BlockFarm extends BlockStructure {
}
}
@SuppressWarnings("deprecation")
@Override
public ItemStack getPickBlock(MovingObjectPosition target, World world, int x, int y, int z) {
ArrayList<ItemStack> drops = getDrops(world, x, y, z, 0, 0);