This commit is contained in:
kirillsaint 2023-07-04 13:51:35 +06:00
parent c578cdec51
commit a61dd5587a
3 changed files with 6 additions and 20 deletions

View File

@ -136,8 +136,6 @@ public abstract class EntityRendererMixin implements EntityRendererExt {
@Shadow private Minecraft mc;
@Shadow protected abstract void hurtCameraEffect(float partialTicks);
@Shadow private ShaderGroup theShaderGroup;
@Shadow private boolean useShader;

View File

@ -34,7 +34,7 @@ public class ColorSaturationMod extends Mod {
try {
this.cachedFastRender = GameSettings.class.getDeclaredField("ofFastRender");
} catch (Exception exception) {
;
}
}
@ -112,13 +112,7 @@ public class ColorSaturationMod extends Mod {
}
@Override
public void onEnable() {
super.onEnable();
if(isFastRenderEnabled()) {
this.toggle();
if(mc.thePlayer != null) {
NotificationUtils.showNotification("error", "Disable Fast Render");
}
}
public boolean isForceDisabled() {
return isFastRenderEnabled();
}
}

View File

@ -34,13 +34,7 @@ public class NewMotionBlurMod extends Mod {
}
@Override
public void onEnable() {
super.onEnable();
if(isFastRenderEnabled()) {
this.toggle();
if(mc.thePlayer != null) {
NotificationUtils.showNotification("error", "Disable Fast Render");
}
}
public boolean isForceDisabled() {
return isFastRenderEnabled();
}
}