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