[1.12] Crash with Player Weight
MasterEnderman opened this issue ยท 3 comments
Crash-Report: https://paste.dimdev.org/etapebaduc.mccrash
Astikor Carts: 0.1.2.2
Player Weight: 1.4
Forge: 14.23.5.2815
Already reported to the author of Player Weights aswell: TinyModularThings/Player-Weight#10
The crash occurs each time i try to sit into a cargo cart.
Since you want to fix it its this line:
https://github.com/MennoMax/astikor-carts/blob/master/src/main/java/de/mennomax/astikorcarts/entity/AbstractDrawnInventory.java#L18
This is a simple loading order issue since references do not update.
Just have a setInventory function that creates the capabilities or deletes it based on what was injected, and have the hasCapability have a != null check.
That should speedup the issue fix
Sorry, I got distracted - will now push and upload the fix for this issue.
Edit: Closed by 07c9be6
The newest version should be on curseforge within the next few seconds.