Use itemstack in LivingEntityUseItemEvent.Finish before it was used (#5015)

This commit is contained in:
MrRiegel authored and LexManos committed 2018-07-14 14:29:32 -07:00
1 parent 603f4bd7a3
commit cfebf27393
2 files changed
+7 -4

No files matched your search

@@ -113,6 +113,8 @@ public class LivingEntityUseItemEvent extends LivingEvent
* Fired after an item has fully finished being used.
* The item has been notified that it was used, and the item/result stacks reflect after that state.
* This means that when this is fired for a Potion, the potion effect has already been applied.
*
* {@link LivingEntityUseItemEvent#item} is a copy of the item BEFORE it was used.
*
* If you wish to cancel those effects, you should cancel one of the above events.
*