Compare commits
No commits in common. "main" and "20240908125836" have entirely different histories.
main
...
2024090812
4 changed files with 5 additions and 12 deletions
2
.github/workflows/maven.yml
vendored
2
.github/workflows/maven.yml
vendored
|
@ -9,7 +9,7 @@ on:
|
|||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: docker
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
|
|
|
@ -6,7 +6,6 @@ import java.nio.charset.StandardCharsets;
|
|||
import java.util.ArrayList;
|
||||
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
|
||||
public class GuiData {
|
||||
|
@ -81,15 +80,8 @@ public class GuiData {
|
|||
|
||||
localLevels.add(obj.getString("name"));
|
||||
id.add(obj.getInt("id") + "");
|
||||
|
||||
try {
|
||||
verifier.add(obj.getString("verifier"));
|
||||
creator.add(obj.getString("author"));
|
||||
} catch (JSONException e) {
|
||||
verifier.add(Long.toString(obj.getLong("verifier")));
|
||||
creator.add(Long.toString(obj.getLong("author")));
|
||||
}
|
||||
|
||||
verifier.add(obj.getString("verifier"));
|
||||
creator.add(obj.getString("author"));
|
||||
qualification.add(obj.getInt("percentToQualify") + "");
|
||||
ytlink.add(obj.getString("verification") + "");
|
||||
creators.add(obj.getJSONArray("creators") + "");
|
||||
|
|
|
@ -24,4 +24,5 @@ public class PreChecks {
|
|||
migration.migrateData();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ import org.apache.commons.codec.binary.Base64;
|
|||
|
||||
public class DecryptXOR {
|
||||
|
||||
private static final String[] SAVES = {"CCGameManager.dat"};
|
||||
private static final String[] SAVES = {"CCGameManager.dat"};
|
||||
private static final int XOR_KEY = 11;
|
||||
|
||||
private static byte[] xor(byte[] data, int key) {
|
||||
|
|
Loading…
Reference in a new issue