Skip to content

Commit b0213e9

Browse files
committed
Why are the WrapOperation docs just wrong?
1 parent 5bfc8be commit b0213e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/polyfrost/colorsaturation/mixin/BlurHandlerMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class BlurHandlerMixin {
1616

1717
@Dynamic("OneConfig")
1818
@WrapOperation(method = "reloadBlur", at = @At(value = "INVOKE", target = "Lorg/polyfrost/oneconfig/api/ui/v1/internal/BlurHandler;isShaderActive()Z", ordinal = 0))
19-
private boolean redirectShaderActive(BlurHandler instance, Object gui, Operation<Boolean> original) { // works without any params in 0.7.11 but in 0.8 things got stricter
19+
private boolean redirectShaderActive(BlurHandler instance, Operation<Boolean> original, Object gui) { // works without any params in 0.7.11 but in 0.8 things got stricter
2020
if (
2121
//#if MC<=11202
2222
net.minecraft.client.renderer.OpenGlHelper.shadersSupported

0 commit comments

Comments
 (0)