Update to MC 1.14 / Fabric
This commit is contained in:
@@ -13,11 +13,15 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
@Mixin(GameRenderer.class)
|
||||
public abstract class MixinShaderEntityRenderer {
|
||||
|
||||
//#if MC>=11400
|
||||
//$$ @Inject(method = "renderCenter", at = @At("HEAD"))
|
||||
//#else
|
||||
//#if MC>=11300
|
||||
@Inject(method = "updateCameraAndRender(FJ)V", at = @At("HEAD"))
|
||||
//#else
|
||||
//$$ @Inject(method = "renderWorldPass", at = @At("HEAD"))
|
||||
//#endif
|
||||
//#endif
|
||||
private void replayModCompat_updateShaderFrameTimeCounter(CallbackInfo ignore) {
|
||||
if (ReplayModReplay.instance.getReplayHandler() == null) return;
|
||||
if (ShaderReflection.shaders_frameTimeCounter == null) return;
|
||||
|
||||
Reference in New Issue
Block a user