mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 08:21:32 +01:00
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 protected abstract void loadShader(ResourceLocation resourceLocationIn);
|
||||||
|
|
||||||
@Shadow private Minecraft mc;
|
@Shadow private Minecraft mc;
|
||||||
|
|
||||||
@Shadow protected abstract void hurtCameraEffect(float partialTicks);
|
|
||||||
|
|
||||||
@Shadow private ShaderGroup theShaderGroup;
|
@Shadow private ShaderGroup theShaderGroup;
|
||||||
|
|
||||||
@Shadow private boolean useShader;
|
@Shadow private boolean useShader;
|
||||||
|
@ -34,7 +34,7 @@ public class ColorSaturationMod extends Mod {
|
|||||||
try {
|
try {
|
||||||
this.cachedFastRender = GameSettings.class.getDeclaredField("ofFastRender");
|
this.cachedFastRender = GameSettings.class.getDeclaredField("ofFastRender");
|
||||||
} catch (Exception exception) {
|
} catch (Exception exception) {
|
||||||
;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -112,13 +112,7 @@ public class ColorSaturationMod extends Mod {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public boolean isForceDisabled() {
|
||||||
super.onEnable();
|
return isFastRenderEnabled();
|
||||||
if(isFastRenderEnabled()) {
|
|
||||||
this.toggle();
|
|
||||||
if(mc.thePlayer != null) {
|
|
||||||
NotificationUtils.showNotification("error", "Disable Fast Render");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -34,13 +34,7 @@ public class NewMotionBlurMod extends Mod {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public boolean isForceDisabled() {
|
||||||
super.onEnable();
|
return isFastRenderEnabled();
|
||||||
if(isFastRenderEnabled()) {
|
|
||||||
this.toggle();
|
|
||||||
if(mc.thePlayer != null) {
|
|
||||||
NotificationUtils.showNotification("error", "Disable Fast Render");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user