mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix items with use durations of 0 being repeatedly used when use button is held down. Fixed #10150
This commit is contained in:
2 files changed
+3
-5
No files matched your search
@@ -46,7 +46,7 @@ public class LivingEntityUseItemEvent extends LivingEvent
|
||||
* Drinking Potions/Milk
|
||||
* Guarding with a sword
|
||||
*
|
||||
* Cancel the event, or set the duration or {@literal <=} 0 to prevent it from processing.
|
||||
* Cancel the event, or set the duration or {@literal <} 0 to prevent it from processing.
|
||||
*
|
||||
*/
|
||||
@Cancelable
|
||||
|
||||
Reference in new issue
Block a user