File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ index cca95d190a979f49762a24729ce399cffbb4d0b0..38545e484d7008fe7549d473720527d5
3535+
3636 }
3737diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
38- index 25338fe4cfdc683ca4c01487e166a1649c6f640b..e62856dd80fce42a89256ff2dc7ee1f7f77dca10 100644
38+ index 25338fe4cfdc683ca4c01487e166a1649c6f640b..9be89d3318875a490d1601222d60ba087f5e6523 100644
3939--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
4040+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
4141@@ -393,8 +393,7 @@ public abstract class LivingEntity extends Entity {
@@ -44,7 +44,7 @@ index 25338fe4cfdc683ca4c01487e166a1649c6f640b..e62856dd80fce42a89256ff2dc7ee1f7
4444 boolean flag = this instanceof net.minecraft.world.entity.player.Player;
4545-
4646- if (this.isInWall()) {
47- + if ((!gg.pufferfish.pufferfish.PufferfishConfig.enableSuffocationOptimization || (tickCount % hurtDuration == 0 && couldPossiblyBeHurt(1.0F))) && this.isInWall()) { // Pufferfish - optimize suffocation
47+ + if ((!gg.pufferfish.pufferfish.PufferfishConfig.enableSuffocationOptimization || (tickCount % 10 == 0 && couldPossiblyBeHurt(1.0F))) && this.isInWall()) { // Pufferfish - optimize suffocation
4848 this.hurt(DamageSource.IN_WALL, 1.0F);
4949 } else if (flag && !this.level.getWorldBorder().isWithinBounds(this.getBoundingBox())) {
5050 double d0 = this.level.getWorldBorder().getDistanceToBorder(this) + this.level.getWorldBorder().getDamageSafeZone();
You can’t perform that action at this time.
0 commit comments