Skip to content

Commit

Permalink
fix remapping
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Sep 14, 2024
1 parent 3176f1d commit 9365011
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ abstract class MinecraftMixin {
return arg0;
}

@Inject(method = "lambda$new$8", at = @At("HEAD"))
@Inject(method = "lambda$new$8", at = @At("HEAD"), remap = false)
private void flywheel$onEndInitialResourceReload(@Coerce Object gameLoadCookie, Optional<Throwable> error, CallbackInfo ci) {
NeoForge.EVENT_BUS.post(new EndClientResourceReloadEvent((Minecraft) (Object) this, resourceManager, true, error));
}

@Inject(method = "lambda$reloadResourcePacks$21", at = @At("HEAD"))
@Inject(method = "lambda$reloadResourcePacks$21", at = @At("HEAD"), remap = false)
private void flywheel$onEndManualResourceReload(boolean recovery, @Coerce Object gameLoadCookie, CompletableFuture<Void> completablefuture, Optional<Throwable> error, CallbackInfo ci) {
NeoForge.EVENT_BUS.post(new EndClientResourceReloadEvent((Minecraft) (Object) this, resourceManager, false, error));
}
Expand Down

0 comments on commit 9365011

Please sign in to comment.