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:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user