ejektaflex / Bountiful

A Minecraft mod adding bounties for specific items.
https://minecraft.curseforge.com/projects/bountiful
GNU General Public License v3.0
82 stars 31 forks source link

[Bug]: Hexxit 1.2 Mac Compatibility Error with Bountiful #159

Closed btparrish closed 2 years ago

btparrish commented 2 years ago

What happened?

image

Bountiful causes Hexxit 1.20 to crash upon start.

How can we reproduce it?

Run Hexxit 1.20 with bountiful.

Mod Version

2.2.2

Forge Version

1.9.28

Relevant log output

No response

ejektaflex commented 2 years ago

I'm not going to download Hexxit to figure this out. You'll need to provide a log, just like the issue form requested.

Even that screen there gives you a link to the log, which is what I need to figure out what the crash actually was... :^)

btparrish commented 2 years ago

@ejektaflex sorry -- attached please find the error report for the crash that occurs in Hexxit 1.20 on Mac. crash-2021-12-11-22.04.23-client.txt

ejektaflex commented 2 years ago

Thanks! The error lines shows this: Caused by: java.lang.Exception: 'bountiful/rewards.json' contains one or more invalid rewards. Invalid rewards: [PickedEntry (Stack) [Item: cqrepoured:feather_golden, Amount: 40, NBT: null, Weight: 40, Stages: null]]

It looks like in your rewards.json file you have an invalid reward (cqrepoured:feather_golden). It's probably because that item does not exist (the mod was perhaps removed?). Removing that entry will probably fix the error!

btparrish commented 2 years ago

how can i go in and remove that? sorry -- not a java programmer and not super into minecraft mod writing! thanks so much for your help!

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ejektaflex commented 2 years ago

Sorry for the delay - you have to remove the whole JSON object associated with that entry from config/bountiful/rewards.json. You can also run it through a JSON linter/validator to make sure the syntax is correct.

That's about as much as I can help you with it, so good luck! 😄