We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 20561ed + 11f39a8 commit a39930cCopy full SHA for a39930c
src/client/java/com/coflnet/CoflModClient.java
@@ -161,6 +161,17 @@ public void onInitializeClient() {
161
username = MinecraftClient.getInstance().getSession().getUsername();
162
if (!CoflCore.Wrapper.isRunning && CoflCore.config.autoStart)
163
CoflSkyCommand.start(username);
164
+ Thread.startVirtualThread(() -> {
165
+ try {
166
+ Thread.sleep(5000); // wait 5 seconds for the scoreboard to be populated
167
+ if(!CoflCore.Wrapper.isRunning)
168
+ return;
169
+ uploadScoreboard();
170
+ uploadTabList();
171
+ } catch (InterruptedException e) {
172
+ e.printStackTrace();
173
+ }
174
+ });
175
}
176
uploadedScoreboard = false;
177
});
0 commit comments