`java.lang.ArithmeticException: / by zero` crash
Quadruplay opened this issue ยท 0 comments
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:
- Use same mods as me
- 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"
}
}
]
}
}
- Attack air with a sword or bare hand
- Crash
Expected behavior
No crash
Screenshots or video recordings
No
Additional context
crash-2024-09-09_03.38.00-server.txt