mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-23 11:27:54 +01:00
fix remapping
This commit is contained in:
parent
3176f1d0f5
commit
93650111b1
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue