diff --git a/src/main/java/link/infra/packwiz/installer/metadata/SpaceSafeURI.java b/src/main/java/link/infra/packwiz/installer/metadata/SpaceSafeURI.java index 09cf704..00c83a5 100644 --- a/src/main/java/link/infra/packwiz/installer/metadata/SpaceSafeURI.java +++ b/src/main/java/link/infra/packwiz/installer/metadata/SpaceSafeURI.java @@ -60,6 +60,11 @@ public boolean equals(Object obj) { return false; } + @Override + public int hashCode() { + return u.hashCode(); + } + @Override public int compareTo(SpaceSafeURI uri) { return u.compareTo(uri.u);