AstikorCarts [Horse Carts]

AstikorCarts [Horse Carts]

14M Downloads

[1.12] Crash with Player Weight

MasterEnderman opened this issue ยท 3 comments

commented

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.

commented

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

commented

Thank you, I might've messed something up there. Will look into this immediately.

commented

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.