Server crash when mods check if dragon has valid mate
WenXin20 opened this issue ยท 2 comments
Minecraft v1.16.4
Forge v35.1.15
Wyrmroost v1.2.10
Pokecube AIO v3.5.0
Logs:
Crash Report
Steps to Reproduce:
- Find the
pokecube-server.toml
file in the serverconfig folder. - Change both
non_vanilla_pokemobs
andvanilla_pokemobs
to true. - Find a Roost Stalker
- Crash
Description of issue:
The server crashes when another mod checks for a dragon's valid mate. In my case, it happened with Pokecube AIO if the config is changed to allow for non-vanilla pokemobs.
I will add in an exception handling on my end, but this side should probably check if the cast is valid here:
Vanilla behaviour checks if the mate
is the same class, before further processing.