Skip to content

horse_drop.json file fix (actually works this time)#33

Open
TBlazeWarriorT wants to merge 3 commits intoTschipp:1.19from
TBlazeWarriorT:1.20
Open

horse_drop.json file fix (actually works this time)#33
TBlazeWarriorT wants to merge 3 commits intoTschipp:1.19from
TBlazeWarriorT:1.20

Conversation

@TBlazeWarriorT
Copy link

@TBlazeWarriorT TBlazeWarriorT commented Dec 18, 2023

horse_drop.json requires a type to work, without it it was not being parsed, not stopping horse drops, and causing a console error. All of this was fixed.

Despite this fix, Disable Horse Drops setting itself is still not implemented. "disableHorseDrops" is defined on the config but is never used, shame on you lol
Without the JSON fix, ALL horses may still drop loot
With the JSON fix, ALL non-personal horses may still drop loot

The other Commit changes HorseDropModifier.java to actually check for the Disable Horse Drops setting and make the mod (hopefully) fully work as intended.

Note that I couldn't find the mod's 1.3.0.1 version on this repo that seems to be based on 1.3.0.0

Tschipp and others added 3 commits August 31, 2023 00:00
horse_drop.json requires a type referencing the mod's defined loot modifier, and "this" should be lowercase to avoid issues
Added an actual check if the disableHorseDrops setting is on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants