mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 07:11:31 +01:00
Fix?
This commit is contained in:
parent
8a55d0dce6
commit
d430104e06
@ -7,10 +7,7 @@ import net.minecraft.client.renderer.tileentity.TileEntityBannerRenderer;
|
||||
import net.minecraft.item.EnumDyeColor;
|
||||
import net.minecraft.tileentity.TileEntityBanner;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.world.World;
|
||||
import org.spongepowered.asm.mixin.*;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Redirect;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
@ -18,18 +15,6 @@ import java.util.Map;
|
||||
|
||||
@Mixin(TileEntityBannerRenderer.class)
|
||||
public class TileEntityBannerRendererMixin {
|
||||
private final String silent$renderTileEntityAtDesc =
|
||||
//#if MC==10809
|
||||
"renderTileEntityAt(Lnet/minecraft/tileentity/TileEntityBanner;DDDFI)V";
|
||||
//#else
|
||||
//$$ "renderTileEntityAt(Lnet/minecraft/tileentity/TileEntityBanner;DDDFIF)V";
|
||||
//#endif
|
||||
|
||||
@Redirect(method = silent$renderTileEntityAtDesc, at = @At(value = "INVOKE", target = "Lnet/minecraft/world/World;getTotalWorldTime()J"))
|
||||
private long silent$resolveOverflow(World world) {
|
||||
return world.getTotalWorldTime() % 100L;
|
||||
}
|
||||
|
||||
//#if MC==10809
|
||||
@Shadow
|
||||
@Final
|
||||
|
Loading…
Reference in New Issue
Block a user