Skip to content

Commit

Permalink
Add missing remap false.
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdAurora committed Oct 11, 2021
1 parent 97f0427 commit a486484
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public class MinecraftServerMixin {
value = "INVOKE",
target = "Lnet/minecraft/resource/ServerResourceManager;loadRegistryTags()V",
shift = At.Shift.AFTER
)
),
remap = false
)
private void method_29440(Collection<?> collection, ServerResourceManager serverResourceManager, CallbackInfo ci) {
// Load dynamic registry tags on data pack reload.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public class TagBuilderMixin implements QuiltTagBuilder {
method = "build",
at = @At(
value = "INVOKE",
target = "Lcom/mojang/datafixers/util/Either;right(Ljava/lang/Object;)Lcom/mojang/datafixers/util/Either;"
target = "Lcom/mojang/datafixers/util/Either;right(Ljava/lang/Object;)Lcom/mojang/datafixers/util/Either;",
remap = false
)
)
private Either<Collection<Tag.TrackedEntry>, Object> build(Object tag) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private void onReload(ResourceReloader.Synchronizer synchronizer, ResourceManage

@Dynamic("private static synthetic method_33179; " +
"Consumer lambda in reload method, corresponds to the RequiredTagList.forEach.")
@Inject(method = "method_33179", at = @At("HEAD"), cancellable = true)
@Inject(method = "method_33179", at = @At("HEAD"), cancellable = true, remap = false)
private void onRequiredGroupBuild(ResourceManager resourceManager, Executor executor, List<?> list,
RequiredTagList<?> requiredTagList, CallbackInfo ci) {
// Don't load dynamic registry tags now, we need to load them after the dynamic registry.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ private void onGetMissingTagsStart(SynchronizeTagsS2CPacket packet, CallbackInfo
method = "onSynchronizeTags",
at = @At(
value = "INVOKE",
target = "Lcom/google/common/collect/Multimap;isEmpty()Z"
target = "Lcom/google/common/collect/Multimap;isEmpty()Z",
remap = false
)
)
private void onGetMissingTagsEnd(SynchronizeTagsS2CPacket packet, CallbackInfo ci) {
Expand Down

0 comments on commit a486484

Please sign in to comment.