From 283598d52c5152259d56ee60354d9d7a1f33d2a2 Mon Sep 17 00:00:00 2001
From: ChomeNS <95471003+ChomeNS@users.noreply.github.com>
Date: Fri, 28 Apr 2023 17:01:29 +0700
Subject: [PATCH] use alphanumeric
---
.idea/workspace.xml | 55 ++++++++++---------
.../chipmunk/chayapak/chomens_bot/Bot.java | 2 +-
2 files changed, 29 insertions(+), 28 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index c2771e1..9a9ceca 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,8 +4,9 @@
-
+
+
@@ -97,27 +98,6 @@
1680245437032
-
- 1681885244617
-
-
-
- 1681885244617
-
-
- 1681972329495
-
-
-
- 1681972329498
-
-
- 1681984879688
-
-
-
- 1681984879688
-
1682060041610
@@ -440,7 +420,28 @@
1682661022747
-
+
+ 1682669397179
+
+
+
+ 1682669397180
+
+
+ 1682672738932
+
+
+
+ 1682672738933
+
+
+ 1682673335875
+
+
+
+ 1682673335876
+
+
@@ -455,9 +456,6 @@
-
-
-
@@ -480,7 +478,10 @@
-
+
+
+
+
diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/Bot.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/Bot.java
index eee4627..e76c540 100644
--- a/src/main/java/land/chipmunk/chayapak/chomens_bot/Bot.java
+++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/Bot.java
@@ -118,7 +118,7 @@ public class Bot {
final String _username = options.username();
- if (_username == null) username = RandomStringUtils.randomAlphabetic(8);
+ if (_username == null) username = RandomStringUtils.randomAlphanumeric(8);
else username = _username;
Session session = new TcpClientSession(host, port, new MinecraftProtocol(username), null);