aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0178-Entity-Jump-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0178-Entity-Jump-API.patch')
-rw-r--r--patches/api/0178-Entity-Jump-API.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/patches/api/0178-Entity-Jump-API.patch b/patches/api/0178-Entity-Jump-API.patch
index 5fd295056d..6cd58f786f 100644
--- a/patches/api/0178-Entity-Jump-API.patch
+++ b/patches/api/0178-Entity-Jump-API.patch
@@ -6,10 +6,10 @@ Subject: [PATCH] Entity Jump API
diff --git a/src/main/java/com/destroystokyo/paper/event/entity/EntityJumpEvent.java b/src/main/java/com/destroystokyo/paper/event/entity/EntityJumpEvent.java
new file mode 100644
-index 0000000000000000000000000000000000000000..1f1c159db2095733a585e102f34c2b657ca82dc2
+index 0000000000000000000000000000000000000000..b49b72608573ad5b98fc6e0070f6ef105bf177e4
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/event/entity/EntityJumpEvent.java
-@@ -0,0 +1,48 @@
+@@ -0,0 +1,50 @@
+package com.destroystokyo.paper.event.entity;
+
+import org.bukkit.entity.LivingEntity;
@@ -41,10 +41,12 @@ index 0000000000000000000000000000000000000000..1f1c159db2095733a585e102f34c2b65
+ return (LivingEntity) super.getEntity();
+ }
+
++ @Override
+ public boolean isCancelled() {
+ return this.cancelled;
+ }
+
++ @Override
+ public void setCancelled(final boolean cancel) {
+ this.cancelled = cancel;
+ }