fix core?

This commit is contained in:
Chayapak 2023-04-30 09:52:14 +07:00
parent f6b4b09335
commit 6a4a272e4e
3 changed files with 42 additions and 14 deletions

View file

@ -6,6 +6,9 @@
</writeAnnotations> </writeAnnotations>
</component> </component>
<component name="ExternalStorageConfigurationManager" enabled="true" /> <component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="JavadocGenerationManager">
<option name="OUTPUT_DIRECTORY" value="/tmp/fard" />
</component>
<component name="MavenProjectsManager"> <component name="MavenProjectsManager">
<option name="originalFiles"> <option name="originalFiles">
<list> <list>

View file

@ -4,8 +4,10 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="50f184fa-7bed-4956-baf5-7586ff26ea08" name="Changes" comment="CompoundTag mabe mabe"> <list default="true" id="50f184fa-7bed-4956-baf5-7586ff26ea08" name="Changes" comment="fix core?">
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <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/plugins/CorePlugin.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/CorePlugin.java" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -98,13 +100,6 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1680245437032</updated> <updated>1680245437032</updated>
</task> </task>
<task id="LOCAL-00090" summary="hopefully fix the broken players plugin">
<created>1682120738152</created>
<option name="number" value="00090" />
<option name="presentableId" value="LOCAL-00090" />
<option name="project" value="LOCAL" />
<updated>1682120738153</updated>
</task>
<task id="LOCAL-00091" summary="f"> <task id="LOCAL-00091" summary="f">
<created>1682122055989</created> <created>1682122055989</created>
<option name="number" value="00091" /> <option name="number" value="00091" />
@ -441,7 +436,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1682682936127</updated> <updated>1682682936127</updated>
</task> </task>
<option name="localTasksCounter" value="139" /> <task id="LOCAL-00139" summary="update language file to 1.19.4">
<created>1682730825558</created>
<option name="number" value="00139" />
<option name="presentableId" value="LOCAL-00139" />
<option name="project" value="LOCAL" />
<updated>1682730825558</updated>
</task>
<option name="localTasksCounter" value="140" />
<servers /> <servers />
</component> </component>
<component name="Vcs.Log.Tabs.Properties"> <component name="Vcs.Log.Tabs.Properties">
@ -456,8 +458,6 @@
</option> </option>
</component> </component>
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
<MESSAGE value="actually improve the systemMessageReceived thing" />
<MESSAGE value="improve returning output of commands" />
<MESSAGE value="thanks blackilykat for solving the thing.,.,.,&#10;yes just change the thing to null and its all done" /> <MESSAGE value="thanks blackilykat for solving the thing.,.,.,&#10;yes just change the thing to null and its all done" />
<MESSAGE value="fix chomens bot crsah exploit 2023 working" /> <MESSAGE value="fix chomens bot crsah exploit 2023 working" />
<MESSAGE value="i forgor 1 thing lmfao" /> <MESSAGE value="i forgor 1 thing lmfao" />
@ -481,7 +481,24 @@
<MESSAGE value="revert commit" /> <MESSAGE value="revert commit" />
<MESSAGE value="finally add usage to help's hoverevent&#10;piece of shit" /> <MESSAGE value="finally add usage to help's hoverevent&#10;piece of shit" />
<MESSAGE value="CompoundTag mabe mabe" /> <MESSAGE value="CompoundTag mabe mabe" />
<option name="LAST_COMMIT_MESSAGE" value="CompoundTag mabe mabe" /> <MESSAGE value="update language file to 1.19.4" />
<MESSAGE value="fix core?" />
<option name="LAST_COMMIT_MESSAGE" value="fix core?" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
<breakpoints>
<line-breakpoint enabled="true" type="java-method">
<url>file://$PROJECT_DIR$/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/TestCommand.java</url>
<line>13</line>
<properties class="land.chipmunk.chayapak.chomens_bot.commands.TestCommand" method="description">
<option name="EMULATED" value="true" />
<option name="WATCH_EXIT" value="false" />
</properties>
<option name="timeStamp" value="1" />
</line-breakpoint>
</breakpoints>
</breakpoint-manager>
</component> </component>
<component name="XSLT-Support.FileAssociations.UIState"> <component name="XSLT-Support.FileAssociations.UIState">
<expand /> <expand />

View file

@ -145,10 +145,14 @@ public class CorePlugin extends PositionPlugin.PositionListener {
public void packetReceived (ClientboundBlockUpdatePacket packet) { public void packetReceived (ClientboundBlockUpdatePacket packet) {
final BlockChangeEntry entry = packet.getEntry(); final BlockChangeEntry entry = packet.getEntry();
System.out.println(entry.getBlock());
if ( if (
entry.getBlock() == 12369 || entry.getBlock() == 12369 ||
entry.getBlock() == 12379 || entry.getBlock() == 12379 ||
entry.getBlock() == 7910 entry.getBlock() == 7910 ||
entry.getBlock() == 7908 ||
entry.getBlock() == 12365
) return; ) return;
final Vector3i position = entry.getPosition(); final Vector3i position = entry.getPosition();
@ -164,10 +168,14 @@ public class CorePlugin extends PositionPlugin.PositionListener {
for (BlockChangeEntry entry : entries) { for (BlockChangeEntry entry : entries) {
final Vector3i position = entry.getPosition(); final Vector3i position = entry.getPosition();
System.out.println(entry.getBlock());
if ( if (
entry.getBlock() == 12369 || entry.getBlock() == 12369 ||
entry.getBlock() == 12379 || entry.getBlock() == 12379 ||
entry.getBlock() == 7910 entry.getBlock() == 7910 ||
entry.getBlock() == 7908 ||
entry.getBlock() == 12365
) return; ) return;
if (isCore(position)) willRefill = true; if (isCore(position)) willRefill = true;