mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-14 22:43:56 +01:00
fix remapping
This commit is contained in:
parent
3176f1d0f5
commit
93650111b1
@ -32,12 +32,12 @@ abstract class MinecraftMixin {
|
|||||||
return arg0;
|
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) {
|
private void flywheel$onEndInitialResourceReload(@Coerce Object gameLoadCookie, Optional<Throwable> error, CallbackInfo ci) {
|
||||||
NeoForge.EVENT_BUS.post(new EndClientResourceReloadEvent((Minecraft) (Object) this, resourceManager, true, error));
|
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) {
|
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));
|
NeoForge.EVENT_BUS.post(new EndClientResourceReloadEvent((Minecraft) (Object) this, resourceManager, false, error));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user