Fix one punch man not killing mobs in some cases (#1762)

This commit is contained in:
Amine Kacimi
2026-04-12 22:59:27 +01:00
committed by GitHub
parent 7a3d9a1e3b
commit e64b1b2add
15 changed files with 75 additions and 75 deletions

View File

@@ -98,7 +98,7 @@
+
+ if (attackDamage.doubleValue() == 0.0D) {
+ // One punch!
+ damage = 9999F;
+ damage = this.getHealth();
+ }
+ }
+ }