diff options
Diffstat (limited to 'patches/api/0099-EndermanAttackPlayerEvent.patch')
-rw-r--r-- | patches/api/0099-EndermanAttackPlayerEvent.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/patches/api/0099-EndermanAttackPlayerEvent.patch b/patches/api/0099-EndermanAttackPlayerEvent.patch index 25dc5e0c39..f3abe83e89 100644 --- a/patches/api/0099-EndermanAttackPlayerEvent.patch +++ b/patches/api/0099-EndermanAttackPlayerEvent.patch @@ -9,10 +9,10 @@ This allows you to override/extend the pumpkin/stare logic. diff --git a/src/main/java/com/destroystokyo/paper/event/entity/EndermanAttackPlayerEvent.java b/src/main/java/com/destroystokyo/paper/event/entity/EndermanAttackPlayerEvent.java new file mode 100644 -index 0000000000000000000000000000000000000000..b261e0420002da3f94862e664edc65536cd05fc8 +index 0000000000000000000000000000000000000000..34adc77de2d1f06b2b10cc26b60240c6a3ef259c --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/event/entity/EndermanAttackPlayerEvent.java -@@ -0,0 +1,98 @@ +@@ -0,0 +1,99 @@ +/* + * Copyright (c) 2018 Daniel Ennis (Aikar) MIT License + * @@ -103,6 +103,7 @@ index 0000000000000000000000000000000000000000..b261e0420002da3f94862e664edc6553 + this.cancelled = cancel; + } + ++ @Override + public HandlerList getHandlers() { + return HANDLER_LIST; + } |