geforkt von Mirrors/Paper
Fix diff in sprint interruption option (Closes #10939)
Dieser Commit ist enthalten in:
Ursprung
05dd6c2bec
Commit
71f3228b5c
@ -10,12 +10,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
--- a/src/main/java/net/minecraft/world/entity/player/Player.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/player/Player.java
|
||||
@@ -0,0 +0,0 @@ public abstract class Player extends LivingEntity {
|
||||
}
|
||||
|
||||
this.setDeltaMovement(this.getDeltaMovement().multiply(0.6D, 1.0D, 0.6D));
|
||||
this.setSprinting(false);
|
||||
+ // Paper start - Configurable sprint interruption on attack
|
||||
+ if (!this.level().paperConfig().misc.disableSprintInterruptionOnAttack) {
|
||||
+ this.setSprinting(false);
|
||||
this.setSprinting(false);
|
||||
+ }
|
||||
+ // Paper end - Configurable sprint interruption on attack
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren