Skip to content

Commit 7ddcaed

Browse files
committed
fix: incorrect format in command list -advance
1 parent 2e80cf2 commit 7ddcaed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/io/github/optijava/opt_carpet_addition/commands/ListAdvanceCommand.java

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ private static int listAdvance(CommandContext<ServerCommandSource> context) {
2323
try {
2424
MinecraftServer minecraftServer = context.getSource().getServer();
2525
StringBuilder sb = new StringBuilder();
26+
sb.append("\n");
2627
for (ServerPlayerEntity s : minecraftServer.getPlayerManager().getPlayerList()) {
2728
//#if MC >= 12004
2829
//$$ sb.append(s.getName().getString()).append(" ").append(s.interactionManager.getGameMode().getName()).append(" ").append(s.networkHandler.getLatency()).append("ms ").append(s.getIp()).append(" ").append(s.getGameProfile().getId().toString()).append("\n");

0 commit comments

Comments
 (0)