Fix
This commit is contained in:
parent
c578cdec51
commit
a61dd5587a
|
@ -135,9 +135,7 @@ public abstract class EntityRendererMixin implements EntityRendererExt {
|
|||
@Shadow protected abstract void loadShader(ResourceLocation resourceLocationIn);
|
||||
|
||||
@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