diff options
author | Lulu13022002 <[email protected]> | 2024-06-21 20:06:31 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-06-21 11:06:31 -0700 |
commit | 9cd020153532aefc3ee8e7fb51833b0a570bba9e (patch) | |
tree | f7476b094b912e6de4a7e53899101dc0a57a2cfc /patches/server/0759-Add-entity-knockback-API.patch | |
parent | 0409a68f5099afdbe5f95f8a928c29aacbf90677 (diff) | |
download | Paper-9cd020153532aefc3ee8e7fb51833b0a570bba9e.tar.gz Paper-9cd020153532aefc3ee8e7fb51833b0a570bba9e.zip |
Preserve velocity for fireball (#10934)
Diffstat (limited to 'patches/server/0759-Add-entity-knockback-API.patch')
-rw-r--r-- | patches/server/0759-Add-entity-knockback-API.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0759-Add-entity-knockback-API.patch b/patches/server/0759-Add-entity-knockback-API.patch index f18cd45c36..39055a4079 100644 --- a/patches/server/0759-Add-entity-knockback-API.patch +++ b/patches/server/0759-Add-entity-knockback-API.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Add entity knockback API diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java -index 790f274948d5a9563ab222cffa6e6df1410d1cf0..af1aa0a488fba542954b5d86b19e96e74e458e31 100644 +index d0601fa54f804059b86cf8d5d459b756308e360b..766052686d2b7ba479c503b675e7a8cc49590bbe 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java -@@ -1097,4 +1097,12 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity { +@@ -1098,4 +1098,12 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity { throw new UnsupportedOperationException("Cannot set the hurt direction on a non player"); } // Paper end - hurt direction API |