Skip to content

Commit

Permalink
Fix #4 (easily one of the dumbest mistakes i've made)
Browse files Browse the repository at this point in the history
  • Loading branch information
SFort committed Nov 15, 2022
1 parent 98fd06c commit 0b28bd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.14.9

# Mod Properties
mod_version = 1.2.4
mod_version = 1.2.5
maven_group = tf.ssf.sfort
archives_base_name = OCAIP
2 changes: 1 addition & 1 deletion src/main/java/sf/ssf/sfort/ocaip/Wire.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static void addAndWrite(String name, PublicKey key) throws IOException {
}
try {
List<String> ln = Files.readAllLines(conf.toPath());
for (int i = 1; i <= ln.size() / 2; i += 2) {
for (int i = 1; i < ln.size(); i += 2) {
String s = ln.get(i);
keys.put(ln.get(i - 1), s.isBlank() ? null : new EdDSAPublicKey(new X509EncodedKeySpec(Base64.getDecoder().decode(s))));
}
Expand Down

0 comments on commit 0b28bd9

Please sign in to comment.