Clean up the pick item ("middle mouse click") patches (#8870)

This commit is contained in:
Take Weiland authored and GitHub committed 2022-07-20 10:56:16 -07:00
1 parent aa8818b049
commit 5306471aec
2 files changed
+22 -62

No files matched your search

@@ -190,6 +190,7 @@ public class ForgeHooks
* Called when a player uses 'pick block', calls new Entity and Block hooks.
*/
@SuppressWarnings("resource")
@Deprecated(forRemoval = true, since = "1.19")
public static boolean onPickBlock(HitResult target, Player player, Level level)
{
ItemStack result = ItemStack.EMPTY;