Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit 1763eab

Browse files
Update EncryptionHandler.java
1 parent 1bff237 commit 1763eab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/andcool/handlers/EncryptionHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ public static void handleEncryptionResponse(ChannelHandlerContext ctx, ByteBuf i
6565
ctx.pipeline().replace("encryption", "encryption", new Encryption(sharedSecret));
6666

6767
if (response == null) {
68-
SessionHandler.disconnect(ctx, "§cYou are using unlicensed copy of Minecraft!");
68+
SessionHandler.disconnect(ctx, "You are using unlicensed copy of Minecraft!");
6969
return;
7070
}
7171

7272
Random random = new Random();
7373
int code = 100000 + random.nextInt(900000);
7474

75-
SessionHandler.disconnect(ctx, "§l§aYour code is: §n" + code + "§r");
75+
SessionHandler.disconnect(ctx, "Your code is: " + code);
7676
JSONObject jsonResponse = new JSONObject();
7777
jsonResponse.put("status", "success");
7878
jsonResponse.put("nickname", response.getString("name"));

0 commit comments

Comments
 (0)