Skip to content

Commit

Permalink
Update SignalAuraRenderUtil.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Edivad99 committed Feb 25, 2024
1 parent dffb469 commit 7e44374
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import mods.railcraft.api.signal.BlockSignalEntity;
import mods.railcraft.api.signal.TokenSignalEntity;
import mods.railcraft.api.signal.entity.SignalControllerEntity;
import mods.railcraft.client.util.LineRenderer;
import mods.railcraft.client.util.RenderUtil;
import mods.railcraft.client.util.SimpleLineRenderer;
import mods.railcraft.world.item.GogglesItem;
Expand Down Expand Up @@ -85,7 +84,7 @@ private static void renderSignalAura(
return;
}

var renderer = LineRenderer.create(bufferSource);
var renderer = new SimpleLineRenderer(bufferSource);
for (var target : endPoints) {
int color = colorProfile.getColor(blockEntity, blockEntity.getBlockPos(), target);
float red = RenderUtil.getRed(color);
Expand Down

0 comments on commit 7e44374

Please sign in to comment.