Skip to content

Commit

Permalink
Use formatting for getactiondump
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeRNG committed Jun 14, 2023
1 parent 11bf663 commit 9b7cd51
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

public class GetActionDump extends Action {
public StringBuilder capturedData = null;
private ColorMode colorMode;
private final ColorMode colorMode;

private int lines;
private int length;
Expand All @@ -30,6 +30,7 @@ public GetActionDump(ColorMode colorMode, Callback callback) {

@Override
public void init() {
if(CodeClient.MC == null || CodeClient.MC.getNetworkHandler() == null) return;
CodeClient.MC.getNetworkHandler().sendCommand("dumpactioninfo");
capturedData = new StringBuilder();
startTime = new Date();
Expand Down

0 comments on commit 9b7cd51

Please sign in to comment.