Skip to content

Commit

Permalink
sboblss
Browse files Browse the repository at this point in the history
  • Loading branch information
ghzdude committed Feb 20, 2024
1 parent d4853e0 commit 52c6c72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public static void renderChestStack(double x, double y, double z, MetaTileEntity

int range = ConfigHolder.client.fancyChestRenderDistance;
if (x > range || y > range || z > range ||
x < -range || y < -range ||z < -range)
x < -range || y < -range || z < -range)
return;

float lastBrightnessX = OpenGlHelper.lastBrightnessX;
Expand Down Expand Up @@ -180,7 +180,7 @@ public static void renderTankFluid(CCRenderState renderState, Matrix4 translatio
public static void renderTankAmount(double x, double y, double z, EnumFacing frontFacing, long amount) {
int range = ConfigHolder.client.fancyChestRenderDistance;
if (x > range || y > range || z > range ||
x < -range || y < -range ||z < -range)
x < -range || y < -range || z < -range)
return;

float lastBrightnessX = OpenGlHelper.lastBrightnessX;
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/gregtech/common/ConfigHolder.java
Original file line number Diff line number Diff line change
Expand Up @@ -451,12 +451,12 @@ public static class ClientOptions {
@Config.Comment({ "Prevent optical and laser cables from animating when active.", "Default: false" })
public boolean preventAnimatedCables = false;

@Config.Comment({"Enable the fancy rendering for Super/Quantum Chests/Tanks.",
"Default: true"})
@Config.Comment({ "Enable the fancy rendering for Super/Quantum Chests/Tanks.",
"Default: true" })
public boolean enableFancyChestRender = true;

@Config.Comment({"The distance in blocks to stop doing special rendering for Super/Quantum Chests/Tanks.",
"Default: 9 Blocks"})
@Config.Comment({ "The distance in blocks to stop doing special rendering for Super/Quantum Chests/Tanks.",
"Default: 9 Blocks" })
public int fancyChestRenderDistance = 9;

public static class GuiConfig {
Expand Down

0 comments on commit 52c6c72

Please sign in to comment.