mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Clean up the pick item ("middle mouse click") patches (#8870)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user