Uncommented the code in `updateScoreboard` and `addViewer` methods in `Leaderboard.java` to ensure scoreboard updates are sent to players. Commented out the components in `HoverText.java` related to setting text display names.
Eliminated unnecessary speed, pitch, and yaw packet writes in HoverText.java for entity spawning to streamline code. Also commented out the updateScoreboard calls in Leaderboard.java to prevent redundant packet sending to players.
Comment out the line that sets the Yaw value to 0 in the spawn packet for `HoverText`. This change prevents unnecessary modifications to the entity's yaw, streamlining the packet data.
Added X, Y, and Z speed settings to zero in the HoverText spawn packet to prevent unexpected entity movement. This ensures the entity remains stationary as intended.
Add pitch and yaw values to the spawn packet and use EntityType.ARMOR_STAND for setting the entity type. This change ensures the armor stand is created with the correct orientation and type.
Updated the addViewer method to verify if a player is already in the viewers list before adding. Adjusted the order of operations to ensure the scoreboard is updated correctly before adding the player to the viewers.
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.