Check use item result before calling onItemUseFirst. (#5016)

This commit is contained in:
bloodmc authored and LexManos committed 2018-07-14 14:28:42 -07:00
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()
{