We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2225f0f commit effee06Copy full SHA for effee06
hash-utils/src/main/java/net/minecraftforge/util/hash/HashStore.java
@@ -110,6 +110,12 @@ public boolean exists() {
110
return this.target != null && this.target.exists();
111
}
112
113
+ public HashStore addKnown(String key, String data) {
114
+ if (!data.isEmpty())
115
+ newHashes.put(Objects.requireNonNull(key), data);
116
+ return this;
117
+ }
118
+
119
public HashStore add(String key, String data) {
120
if (!data.isEmpty())
121
newHashes.put(Objects.requireNonNull(key), HASH.hash(data));
0 commit comments