Add missing cancelable
This commit is contained in:
parent
94a41e1fcc
commit
7ed5fc7e00
|
@ -2,6 +2,7 @@ package net.minecraftforge.client.event;
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.EnumHand;
|
import net.minecraft.util.EnumHand;
|
||||||
|
import net.minecraftforge.fml.common.eventhandler.Cancelable;
|
||||||
import net.minecraftforge.fml.common.eventhandler.Event;
|
import net.minecraftforge.fml.common.eventhandler.Event;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
|
@ -11,6 +12,7 @@ import javax.annotation.Nullable;
|
||||||
* whenever a hand is rendered in first person.
|
* whenever a hand is rendered in first person.
|
||||||
* Canceling the event causes the hand to not render.
|
* Canceling the event causes the hand to not render.
|
||||||
*/
|
*/
|
||||||
|
@Cancelable
|
||||||
public class RenderHandEventSpecific extends Event
|
public class RenderHandEventSpecific extends Event
|
||||||
{
|
{
|
||||||
private final EnumHand hand;
|
private final EnumHand hand;
|
||||||
|
|
Loading…
Reference in New Issue