Nevakanezah / HorseEnhancer

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

Possible issue where command-summoned horses apply unintended parents. #36

Closed Nevakanezah closed 4 years ago

Nevakanezah commented 4 years ago

While developing a brief overview video for the plugin, a horse was spawned using the command /he s stallion -m <HorseID> as part of showcasing inbreeding handling. It appears that this horse somehow managed to assign itself a father, despite one not being defined by the command.

Server logs might have the exact command used, as I don't precisely remember it.

Confirm whether the summon command is somehow able to assign unintended attributes, and if so, correct it.

Nevakanezah commented 4 years ago

Issue was caused by recent change to null-object pattern for this command, which was then passing !=null tests. Should work as expected now.