Added automatic screenshots (#657)

* Added automatic screenshots

This branch is based off of the screenshots branch, but it will also require the develop branch to be merged first to not cause a git conflict with adding more QoL options to ClientSettings.java, so we'll want to pull the develop branch onto this branch eventually (or, I suppose, the master branch after it's merged).

In other words, we can add 2 new QoL settings to ClientSettings at a later time (after my develop branch fixes/improvements PR is merged).

* Fixed params for auto screenshots

* Added auto screenshots toggle

* Fixed auto screenshots var typo
This commit is contained in:
ipkpjersi authored and GitHub committed 2024-09-21 04:14:45 +01:00
1 parent e404eadb3b
commit 0120892521
3 files changed
+31

No files matched your search

+4
View File
@@ -58,6 +58,10 @@ public final class Main {
case"-enable-screenshots":
ClientSettings.SCREENSHOTS_ENABLED = true;
break;
case"-auto-screenshots":
case"-enable-auto-screenshots":
ClientSettings.AUTOMATIC_SCREENSHOTS_ENABLED = true;
break;
}
if (args[i].startsWith("-") && (i + 1) < args.length && !args[i + 1].startsWith("-")) {
switch(args[i]) {