Skip to content

Commit

Permalink
fix citadel #21
Browse files Browse the repository at this point in the history
  • Loading branch information
dima_dencep committed Oct 31, 2022
1 parent ad50ccc commit c9b4376
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;

@Mixin(WorldRenderer.class)
@Mixin(value = WorldRenderer.class, priority = 1500)
public class MixinWorldRenderer {
@Redirect(
method = "renderSky(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/math/Matrix4f;FLnet/minecraft/client/render/Camera;ZLjava/lang/Runnable;)V",
require = 0,
at = @At(
value = "INVOKE",
ordinal = 0,
target = "Lnet/minecraft/client/world/ClientWorld;method_23787(F)F"
)
)
Expand Down

0 comments on commit c9b4376

Please sign in to comment.