Better Combat [Fabric & Forge]

Better Combat [Fabric & Forge]

25M Downloads

First-person Model API Usage

mpustovoi opened this issue ยท 2 comments

commented

Minecraft version - 1.20.1
Mod loader - Fabric
Mod version - 1.8.3
I am using the latest version available - Yes

Describe the bug
With latest First-person Model mod version (2.3.1-1.20.1 - Fabric) game crashes after trying to hit a mob with any weapon.
Crash-report and latest.log:
https://gist.github.com/mpustovoi/b7bc2ed04ebfe1b93f3fe725946bf384

To Reproduce
Steps to reproduce the behavior:

  1. Install Fabric 1.20.1, Better Combat 1.8.3, First-person Model 2.3.1 (and playerAnimator 1.0.2).
  2. Join a world and hit a mob with any weapon.
  3. Game crashes.

Expected behavior
Expected that the crash wouldn't happen.

Screenshots or video recordings
Crash happens instantly after clicking LMB.

Additional context
The author of the First-person Model mod replied that the problem isn't in his mod.

commented

Better Combat will have to update, it's not using the API but instead calling into internals. For the dev version I re-added the field its trying to get as a workaround against the crash.

Originally posted by @tr7zw in tr7zw/FirstPersonModel#417 (comment)

commented

The version with workaround is now out (2.3.2). (still needs to be fixed, I'll remove the workaround again at some point)