1
0
mirror of https://github.com/GeyserMC/Rainbow.git synced 2025-12-19 06:49:22 +00:00

Let it run

This commit is contained in:
Eclipse
2025-11-12 14:12:43 +00:00
parent 4eb991c433
commit a23f6a1a86
3 changed files with 4 additions and 3 deletions

View File

@@ -113,7 +113,7 @@ Textures tried to export: FIXME
if (splash == null) {
return "Undefined Undefined :(";
}
return ((SplashRendererAccessor) splash).getSplash();
return ((SplashRendererAccessor) splash).getSplash().getString();
}
return randomBuiltinSummaryComment();
}

View File

@@ -26,7 +26,7 @@ public abstract class ModelManagerMixin implements PreparableReloadListener, Aut
@Unique
private Map<Identifier, ClientItem> clientItems;
@WrapOperation(method = "method_65753", at = @At(value = "INVOKE", target = "Ljava/util/concurrent/CompletableFuture;join()Ljava/lang/Object;", ordinal = 1))
@WrapOperation(method = "method_65753", at = @At(value = "INVOKE", target = "Ljava/util/concurrent/CompletableFuture;join()Ljava/lang/Object;", ordinal = 2))
private static Object setResolvedModels(CompletableFuture<?> instance, Operation<Object> original) {
Object resolved = original.call(instance);
try {

View File

@@ -1,6 +1,7 @@
package org.geysermc.rainbow.client.mixin;
import net.minecraft.client.gui.components.SplashRenderer;
import net.minecraft.network.chat.Component;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;
@@ -8,5 +9,5 @@ import org.spongepowered.asm.mixin.gen.Accessor;
public interface SplashRendererAccessor {
@Accessor
String getSplash();
Component getSplash();
}