mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 08:01:32 +01:00
Fix
This commit is contained in:
parent
c578cdec51
commit
a61dd5587a
@ -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;
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user