Updated the destroyPacket to utilize getIntLists(). This change ensures proper handling of entity IDs in line with the necessary method for destroying entities.
Changed the method from getIntegerArrays() to getIntegers() to ensure the correct destruction packet is sent. This fixes an issue where entities were not being correctly destroyed, thereby preventing potential memory leaks and display errors.