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]: Add warning message on invalid bounty type #240

Closed ejektaflex closed 11 months ago

ejektaflex commented 12 months ago

What happened?

Sometime pre-1.20.1 (probably before we went multi-platform), we were using enums for bounty types. Now, we use identifiers, which are case sensitive. Therefore, ITEM is not a valid bounty type (will silently get rejected) but item is.

Solution: Emit a warning if the bounty type is not in the bounty type registry, and update the docs so that bounty types are lowercase.

How can we reproduce it?

No response

Mod Version

6.0.X-1.20.1

Mod Loader

None

Mod Loader Version

Both Mod Loaders

Relevant log output

No response