Game crash when accessing PC

Just started a cobblemon server. The game says my PC is full when catching more than 6 pokemon. The game then deletes pokemon dragged into the PC and crashes when attempting to change the PC box with this: The game crashed whilst rendering screen Error: java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 0 Exit code -1 Running on fabric. Version 1.20.1. What can I do? Any help would be appreciated:)