Nevakanezah / HorseEnhancer

All-natural horse enhancement for Minecraft 1.12 - 1.14
MIT License
3 stars 2 forks source link

Confirm parent assignment code shows both Customname and HorseID #30

Closed Nevakanezah closed 4 years ago

Nevakanezah commented 4 years ago

The code that currently assigns parents to a new horse requires the caller to set father/motherName independently, which I'm pretty sure has led to a few cases (namely commands) where these names aren't always including the horseID. This makes it impossible to distinguish parents that share a customName.

Ensure that all interactions with HorseData.FatherName & HorseData.MotherName include customName and HorseID whenever they are available.

Nevakanezah commented 4 years ago

Fixed issue, as it was broken in virtually every location where parentNames are set. image