Skip to content

Commit

Permalink
fixcc even better
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeRNG committed Mar 7, 2023
1 parent 3d7b49a commit 498a431
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/dev/dfonline/codeclient/CodeClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import dev.dfonline.codeclient.action.Action;
import dev.dfonline.codeclient.action.None;
import dev.dfonline.codeclient.action.impl.*;
import dev.dfonline.codeclient.actiondump.ActionDump;
import dev.dfonline.codeclient.dev.DevInventory.DevInventoryScreen;
import dev.dfonline.codeclient.dev.NoClip;
import dev.dfonline.codeclient.websocket.SocketHandler;
Expand Down Expand Up @@ -117,6 +118,7 @@ public void onInitialize() {
worldPlot = null;
SocketHandler.setConnection(null);
PlotLocation.set(0,0,0);
ActionDump.clear();
return 0;
}));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ public static ActionDump getActionDump() throws IOException {
}
return instance;
}

public static void clear() {
instance = null;
}
}

0 comments on commit 498a431

Please sign in to comment.