Add missing cancelable

This commit is contained in:
Vincent Lee 2016-07-23 12:33:14 -05:00
parent 94a41e1fcc
commit 7ed5fc7e00
No known key found for this signature in database
GPG Key ID: 5E313C116869B316
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package net.minecraftforge.client.event;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumHand;
import net.minecraftforge.fml.common.eventhandler.Cancelable;
import net.minecraftforge.fml.common.eventhandler.Event;
import javax.annotation.Nullable;
@ -11,6 +12,7 @@ import javax.annotation.Nullable;
* whenever a hand is rendered in first person.
* Canceling the event causes the hand to not render.
*/
@Cancelable
public class RenderHandEventSpecific extends Event
{
private final EnumHand hand;