Fix EntityDeathEvent cancellation (#9323)
This commit is contained in:
parent
f4dfdcbb5b
commit
eb0693fff7
23 changed files with 65 additions and 62 deletions
|
@ -5,10 +5,10 @@ Subject: [PATCH] Entity Jump API
|
|||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
|
||||
index a1c8558db314ea34ad483f7f6f70c1833b57b669..55d8856e5fdeee4d38e49f5d4a252cf61212e5cb 100644
|
||||
index d322efe93e056f6272221b00b737fd9b6d290404..ba1e09e310e48d10be86d2679f6853c0cdc603c4 100644
|
||||
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
|
||||
@@ -3262,8 +3262,10 @@ public abstract class LivingEntity extends Entity implements Attackable {
|
||||
@@ -3265,8 +3265,10 @@ public abstract class LivingEntity extends Entity implements Attackable {
|
||||
} else if (this.isInLava() && (!this.onGround() || d7 > d8)) {
|
||||
this.jumpInLiquid(FluidTags.LAVA);
|
||||
} else if ((this.onGround() || flag && d7 <= d8) && this.noJumpDelay == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue