Skip to content

Commit

Permalink
i find a problem
Browse files Browse the repository at this point in the history
  • Loading branch information
chemiofitor committed Oct 1, 2023
1 parent d1267be commit 21bb1d4
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 @@ -7,7 +7,7 @@ yarn_mappings=1.20.1+build.10
loader_version=0.14.22

# Mod Properties
mod_version=1.0.2
mod_version=1.0.3
maven_group=ho.artisan
archives_base_name=HO-Library

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ho/artisan/holib/registry/Registrar.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public Registry<T> getRegistry() {
}

public <K extends T> RegistryCasket<K> register(String id, K object) {
return new RegistryCasket<>(Registry.register(registry, id, object), genID(id));
return new RegistryCasket<>(Registry.register(registry, new Identifier(modid, id), object), genID(id));
}

public Identifier genID(String path) {
Expand Down

0 comments on commit 21bb1d4

Please sign in to comment.