Skip to content

Commit

Permalink
Fix crash when hovering over some items
Browse files Browse the repository at this point in the history
  • Loading branch information
ThexXTURBOXx committed Sep 11, 2024
1 parent 7cd3db7 commit 6927a5e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ public Registrar<R> getRegistrar() {
return (Registrar<R>) DeferredRegister.this.getRegistrar();
}

@Override
public ResourceKey<R> getKey() {
return ResourceKey.create(getRegistryKey(), getId());
}

@Override
public ResourceLocation getRegistryId() {
return key.location();
Expand Down

0 comments on commit 6927a5e

Please sign in to comment.