1
0
mirror of https://github.com/GeyserMC/Rainbow.git synced 2025-12-19 14:59:16 +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) { if (splash == null) {
return "Undefined Undefined :("; return "Undefined Undefined :(";
} }
return ((SplashRendererAccessor) splash).getSplash(); return ((SplashRendererAccessor) splash).getSplash().getString();
} }
return randomBuiltinSummaryComment(); return randomBuiltinSummaryComment();
} }

View File

@@ -26,7 +26,7 @@ public abstract class ModelManagerMixin implements PreparableReloadListener, Aut
@Unique @Unique
private Map<Identifier, ClientItem> clientItems; 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) { private static Object setResolvedModels(CompletableFuture<?> instance, Operation<Object> original) {
Object resolved = original.call(instance); Object resolved = original.call(instance);
try { try {

View File

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