Commit Graph

3 Commits

Author SHA1 Message Date
Teriuihi 316bbad36e Try removing packet writes in HoverText.java
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.
2024-10-20 21:08:23 +02:00
Teriuihi d4eccf478f Add check for existing viewers before adding them
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.
2024-10-20 19:42:31 +02:00
Teriuihi 023e9386ce Initial commit 2024-10-20 19:05:26 +02:00