Maybe fix settings stuff

Signed-off-by: BuildTools <unconfigured@null.spigotmc.org>
This commit is contained in:
BuildTools 2023-01-01 11:53:27 -07:00
parent a7d8f6ee8a
commit 381c2bafb6
13 changed files with 63877 additions and 63854 deletions

Binary file not shown.

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="compile" /> <list default="true" id="7c16cb29-fd95-4a14-bee8-e94e1bc0dd58" name="Changes" comment="Maybe fix settings stuff" />
<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" />
@ -54,10 +54,12 @@
<component name="Git.Settings"> <component name="Git.Settings">
<option name="PREVIOUS_COMMIT_AUTHORS"> <option name="PREVIOUS_COMMIT_AUTHORS">
<list> <list>
<option value="ThisIsALegitUsername &lt;andrewsouchien@gmail.com&gt;" />
<option value="Nitwit" /> <option value="Nitwit" />
</list> </list>
</option> </option>
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
<option name="SIGN_OFF_COMMIT" value="true" />
</component> </component>
<component name="GitHubPullRequestSearchHistory"><![CDATA[{ <component name="GitHubPullRequestSearchHistory"><![CDATA[{
"lastFilter": { "lastFilter": {
@ -94,6 +96,7 @@
"node.js.selected.package.eslint": "(autodetect)", "node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)", "node.js.selected.package.tslint": "(autodetect)",
"run.code.analysis.last.selected.profile": "pProject Default", "run.code.analysis.last.selected.profile": "pProject Default",
"settings.editor.selected.configurable": "preferences.pluginManager",
"vue.rearranger.settings.migration": "true" "vue.rearranger.settings.migration": "true"
} }
}]]></component> }]]></component>
@ -226,7 +229,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1672598190790</updated> <updated>1672598190790</updated>
</task> </task>
<option name="localTasksCounter" value="4" /> <task id="LOCAL-00004" summary="Maybe fix settings stuff">
<created>1672598920646</created>
<option name="number" value="00004" />
<option name="presentableId" value="LOCAL-00004" />
<option name="project" value="LOCAL" />
<updated>1672598920646</updated>
</task>
<option name="localTasksCounter" value="5" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@ -251,6 +261,7 @@
<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." />
<MESSAGE value="compile" /> <MESSAGE value="compile" />
<option name="LAST_COMMIT_MESSAGE" value="compile" /> <MESSAGE value="Maybe fix settings stuff" />
<option name="LAST_COMMIT_MESSAGE" value="Maybe fix settings stuff" />
</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.saveOptions(); mc.gameSettings.loadOptions(); } public void initGui(){ 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

View File

@ -14,7 +14,7 @@ public class HUDConfigScreen extends GuiScreen {
} }
public void onGuiClosed() { public void onGuiClosed() {
Keyboard.enableRepeatEvents(false); Keyboard.enableRepeatEvents(false); mc.gameSettings.saveOptions();
} }
public void drawScreen(int mx, int my, float par3) { public void drawScreen(int mx, int my, float par3) {