1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-28 16:22:18 +00:00

Fix checkstyle :P

This commit is contained in:
ToadDev 2021-06-10 01:55:01 -07:00
parent f596af059d
commit fb128152a5
2 changed files with 8 additions and 8 deletions

View File

@ -138,12 +138,12 @@ public class TileEntityMonitorRenderer extends BlockEntityRenderer<TileMonitor>
(float) -(ySize + MARGIN * 2) );
}
// FixedWidthFontRenderer.drawBlocker( transform.peek().getModel(),
// renderer,
// (float) -TileMonitor.RENDER_MARGIN,
// (float) TileMonitor.RENDER_MARGIN,
// (float) (xSize + 2 * TileMonitor.RENDER_MARGIN),
// (float) -(ySize + TileMonitor.RENDER_MARGIN * 2) );
// FixedWidthFontRenderer.drawBlocker( transform.peek().getModel(),
// renderer,
// (float) -TileMonitor.RENDER_MARGIN,
// (float) TileMonitor.RENDER_MARGIN,
// (float) (xSize + 2 * TileMonitor.RENDER_MARGIN),
// (float) -(ySize + TileMonitor.RENDER_MARGIN * 2) );
transform.pop();
}

View File

@ -43,7 +43,7 @@ public enum MonitorRenderer
private static boolean textureBuffer = false;
private static boolean shaderMod = false;
//TODO find out which shader mods do better with VBOs and add them here.
private static List<String> shaderModIds = Arrays.asList("aShaderModThatWouldPreferVBOs");
private static List<String> shaderModIds = Arrays.asList( "aShaderModThatWouldPreferVBOs" );
/**
* Get the current renderer to use.
@ -81,7 +81,7 @@ public enum MonitorRenderer
checkForShaderMods();
if ( textureBuffer && shaderMod )
{
ComputerCraft.log.warn("Shader mod detected. Enabling VBO renderer for compatibility.");
ComputerCraft.log.warn( "Shader mod detected. Enabling VBO renderer for compatibility." );
}
initialised = true;