use alphanumeric

This commit is contained in:
Chayapak 2023-04-28 17:01:29 +07:00
parent 40d8af9be8
commit 283598d52c
2 changed files with 29 additions and 28 deletions

View file

@ -4,8 +4,9 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="50f184fa-7bed-4956-baf5-7586ff26ea08" name="Changes" comment="aaa i forgor debug line">
<list default="true" id="50f184fa-7bed-4956-baf5-7586ff26ea08" name="Changes" comment="port a thing from chomens bot js to java">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/land/chipmunk/chayapak/chomens_bot/Bot.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/land/chipmunk/chayapak/chomens_bot/Bot.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -97,27 +98,6 @@
<option name="presentableId" value="Default" />
<updated>1680245437032</updated>
</task>
<task id="LOCAL-00084" summary="add a working (or not?) stereo to music">
<created>1681885244617</created>
<option name="number" value="00084" />
<option name="presentableId" value="LOCAL-00084" />
<option name="project" value="LOCAL" />
<updated>1681885244617</updated>
</task>
<task id="LOCAL-00085" summary="improve and fix cmd handler (first commit on arch)&#10;yup this is my first commit on arch linux,.,.,..,.,.,&#10;yes i use arch btw :sunglasses:">
<created>1681972329495</created>
<option name="number" value="00085" />
<option name="presentableId" value="LOCAL-00085" />
<option name="project" value="LOCAL" />
<updated>1681972329498</updated>
</task>
<task id="LOCAL-00086" summary="1.19.4 + add stuff (kinda broken ..,,.)">
<created>1681984879688</created>
<option name="number" value="00086" />
<option name="presentableId" value="LOCAL-00086" />
<option name="project" value="LOCAL" />
<updated>1681984879688</updated>
</task>
<task id="LOCAL-00087" summary="add/improve/fix stuff&#10;ig mabe mabe mabe&#10;useCore!1!1!">
<created>1682060041610</created>
<option name="number" value="00087" />
@ -440,7 +420,28 @@
<option name="project" value="LOCAL" />
<updated>1682661022747</updated>
</task>
<option name="localTasksCounter" value="133" />
<task id="LOCAL-00133" summary="use block change and multi block change packets&#10;and also change the core refill delay !!!">
<created>1682669397179</created>
<option name="number" value="00133" />
<option name="presentableId" value="LOCAL-00133" />
<option name="project" value="LOCAL" />
<updated>1682669397180</updated>
</task>
<task id="LOCAL-00134" summary="actually i forgor 1 thing&#10;its the command block update thing which we want to ignore it">
<created>1682672738932</created>
<option name="number" value="00134" />
<option name="presentableId" value="LOCAL-00134" />
<option name="project" value="LOCAL" />
<updated>1682672738933</updated>
</task>
<task id="LOCAL-00135" summary="port a thing from chomens bot js to java">
<created>1682673335875</created>
<option name="number" value="00135" />
<option name="presentableId" value="LOCAL-00135" />
<option name="project" value="LOCAL" />
<updated>1682673335876</updated>
</task>
<option name="localTasksCounter" value="136" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -455,9 +456,6 @@
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="actually revert greplog update because it breaks stuff" />
<MESSAGE value="add filter (ignore messy code plz)" />
<MESSAGE value="fix chat (/say and /me) i guess" />
<MESSAGE value="actually fix the fix&#10;the first &quot;fix&quot; is just fix like just fix,..,&#10;then the second one is the last commit, &quot;fix chat (/say and /me) i guess&quot;" />
<MESSAGE value="fix test?" />
<MESSAGE value="fix extras chat" />
@ -480,7 +478,10 @@
<MESSAGE value="patch sus?" />
<MESSAGE value="add command suggestions i guess" />
<MESSAGE value="aaa i forgor debug line" />
<option name="LAST_COMMIT_MESSAGE" value="aaa i forgor debug line" />
<MESSAGE value="use block change and multi block change packets&#10;and also change the core refill delay !!!" />
<MESSAGE value="actually i forgor 1 thing&#10;its the command block update thing which we want to ignore it" />
<MESSAGE value="port a thing from chomens bot js to java" />
<option name="LAST_COMMIT_MESSAGE" value="port a thing from chomens bot js to java" />
</component>
<component name="XSLT-Support.FileAssociations.UIState">
<expand />

View file

@ -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);