Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.ArithmeticException: / by zero crash #412

Open
Quadruplay opened this issue Sep 9, 2024 · 0 comments
Open

java.lang.ArithmeticException: / by zero crash #412

Quadruplay opened this issue Sep 9, 2024 · 0 comments

Comments

@Quadruplay
Copy link

Minecraft version - 1.20.1
Mod loader - forge
Mod version - 1.8.6
I am using the latest version available - Yeah

Describe the bug
Game crashes when attacking; bug report says there's been a division by zero

To Reproduce
Steps to reproduce the behavior:

  1. Use same mods as me
  2. Use same datapacks as me:
    (minecraft:air is changed to this vvv)
{
  "parent": "bettercombat:punch",
  "attributes": {
    "attack_range": 2,
    "category": "fist",
    "attacks": [
      {
        "hitbox": "FORWARD_BOX",
        "conditions": ["DUAL_WIELDING_SAME_CATEGORY"],
        "upswing": 0.5,
        "animation": "bettercombat:one_handed_punch",
        "swing_sound": {
          "id": "bettercombat:fist_punch"
        }
      }
    ]
  }
}
  1. Attack air with a sword or bare hand
  2. Crash

Expected behavior
No crash

Screenshots or video recordings
No

Additional context
crash-2024-09-09_03.38.00-server.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant