Trainer is not attached to an entity

Summary

Im using a modpack called cobbleverse and it uses this mod to create custom gyms around the world. The modpack creater told me I should report the bug here.

Attempting to interact with these trainers results in one of three things. A "Brock is not attached to an entity" error, the battle UI not showing up while in battle, the trainer fight actually works. It seems the only way to actually get a working gym fight is to find a gym that is working. If the gym isn't working then it never will and you have to find a new one.

Steps to reproduce

  1. Download cobbleverse
  2. Find some of the custom gyms
  3. Interact with the trainers

Mods and Versions

Cobbleverse 1.2.5 which can be seen here

Relevant logs and/or screenshots

image