Skip to content

Commit

Permalink
Fix documentation of SAVESTATE_CLEAR_SCOREBOARD in TASmodPackets
Browse files Browse the repository at this point in the history
  • Loading branch information
ScribbleTAS committed Dec 13, 2024
1 parent 8001f4b commit 528331e
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,19 @@ public enum TASmodPackets implements PacketID {
*/
SAVESTATE_UNLOAD_CHUNKS,
/**
* <p>Notifies the client to clear all inputs from the input buffer in {@link PlaybackControllerClient}
* <p>SIDE: Both<br>
* <p>Clears the scoreboard on the client side
* <p>SIDE: Client<br>
* ARGS: none
*/
SAVESTATE_CLEAR_SCOREBOARD(Side.CLIENT, (buf, clientID) -> {
Minecraft mc = Minecraft.getMinecraft();
((ScoreboardDuck) mc.world.getScoreboard()).clearScoreboard();
}),
/**
* <p>Notifies the client to clear all inputs from the input buffer in {@link PlaybackControllerClient}
* <p>SIDE: Both<br>
* ARGS: none
*/
PLAYBACK_CLEAR_INPUTS,
/**
* <p>Notifies the client to quit to the main menu and start recording inputs in {@link PlaybackControllerClient}
Expand Down

0 comments on commit 528331e

Please sign in to comment.