mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 12:20:11 +00:00
Check use item result before calling onItemUseFirst. (#5016)
This commit is contained in:
1 parent
97d58aeaa1
commit
603f4bd7a3
2 files changed
+14
-11
No files matched your search
@@ -168,7 +168,7 @@ public class PlayerInteractEvent extends PlayerEvent
|
||||
}
|
||||
|
||||
/**
|
||||
* @return If {@link net.minecraft.item.Item#onItemUse} should be called
|
||||
* @return If {@link net.minecraft.item.Item#onItemUseFirst} and {@link net.minecraft.item.Item#onItemUse} should be called
|
||||
*/
|
||||
public Result getUseItem()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user