Maybe fix settings stuff

Signed-off-by: BuildTools <unconfigured@null.spigotmc.org>
This commit is contained in:
ThisIsALegitUsername 2023-01-01 11:48:33 -07:00 committed by BuildTools
parent f168b07bba
commit a7d8f6ee8a
10 changed files with 61541 additions and 61526 deletions

View File

@ -4,7 +4,7 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="7c16cb29-fd95-4a14-bee8-e94e1bc0dd58" name="Changes" comment="Code cleanup and remove renderworldevent." /> <list default="true" id="7c16cb29-fd95-4a14-bee8-e94e1bc0dd58" name="Changes" comment="compile" />
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -219,7 +219,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1672597610833</updated> <updated>1672597610833</updated>
</task> </task>
<option name="localTasksCounter" value="3" /> <task id="LOCAL-00003" summary="compile">
<created>1672598190790</created>
<option name="number" value="00003" />
<option name="presentableId" value="LOCAL-00003" />
<option name="project" value="LOCAL" />
<updated>1672598190790</updated>
</task>
<option name="localTasksCounter" value="4" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@ -243,6 +250,7 @@
<MESSAGE value="Code cleanup and remove renderworldevent" /> <MESSAGE value="Code cleanup and remove renderworldevent" />
<MESSAGE value="Code cleanup and remove renderworldevent. Reformat code." /> <MESSAGE value="Code cleanup and remove renderworldevent. Reformat code." />
<MESSAGE value="Code cleanup and remove renderworldevent." /> <MESSAGE value="Code cleanup and remove renderworldevent." />
<option name="LAST_COMMIT_MESSAGE" value="Code cleanup and remove renderworldevent." /> <MESSAGE value="compile" />
<option name="LAST_COMMIT_MESSAGE" value="compile" />
</component> </component>
</project> </project>

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -232,7 +232,7 @@ public class ClickGUI extends GuiScreen {
public boolean isMouseInside(int mouseX, int mouseY, int x, int y, int width, int height) { return (mouseX >= x && mouseX <= width) && (mouseY >= y && mouseY <= height); } public boolean isMouseInside(int mouseX, int mouseY, int x, int y, int width, int height) { return (mouseX >= x && mouseX <= width) && (mouseY >= y && mouseY <= height); }
public void onGuiClosed() { Keyboard.enableRepeatEvents(true); mc.gameSettings.saveOptions(); } public void onGuiClosed() { Keyboard.enableRepeatEvents(true); mc.gameSettings.saveOptions(); }
@Override @Override
public void initGui(){ mc.gameSettings.loadOptions(); } public void initGui(){ mc.gameSettings.saveOptions(); mc.gameSettings.loadOptions(); }
protected void keyTyped(char par1, int par2) { if (par2 == 0x01 || par2 == Minecraft.getMinecraft().gameSettings.keyBindClickGui.keyCode) { mc.displayGuiScreen(null); } } protected void keyTyped(char par1, int par2) { if (par2 == 0x01 || par2 == Minecraft.getMinecraft().gameSettings.keyBindClickGui.keyCode) { mc.displayGuiScreen(null); } }
@Override @Override