Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Fix fabric-api compatibilty (#495)
Browse files Browse the repository at this point in the history
* Fix fabric-api compatibilty

* Add content after vanilla content has been added
  • Loading branch information
LostLuma committed Dec 11, 2022
1 parent ac215eb commit f57e053
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@Mixin(BuiltInRegistries.class)
public class BuiltInRegistriesMixin {
@Inject(method = "bootStrap", at = @At(value = "INVOKE", target = "Lnet/minecraft/core/registries/BuiltInRegistries;freeze()V"))
@Inject(method = "createContents()V", at = @At("RETURN"))
private static void preFreezeRegistries(CallbackInfo ci) {
MulticonnectAddedRegistryEntries.register();
}
Expand Down

0 comments on commit f57e053

Please sign in to comment.