aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/hysky/skyblocker/skyblock/end/BeaconHighlighter.java
diff options
context:
space:
mode:
authorakarahdev <endisticbutitsforgit@gmail.com>2024-01-20 15:40:32 -0500
committerakarahdev <endisticbutitsforgit@gmail.com>2024-01-22 20:27:15 -0500
commitb00506f518135dd4d062a311908e4506390513db (patch)
tree8a675db658c7ab9c67f9f86d1710968a3e28a756 /src/main/java/de/hysky/skyblocker/skyblock/end/BeaconHighlighter.java
parent954ccdb5ef1c0cbe658bfae43edd9cf832854ead (diff)
downloadSkyblocker-b00506f518135dd4d062a311908e4506390513db.tar.gz
Skyblocker-b00506f518135dd4d062a311908e4506390513db.tar.bz2
Skyblocker-b00506f518135dd4d062a311908e4506390513db.zip
again!
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/skyblock/end/BeaconHighlighter.java')
-rw-r--r--src/main/java/de/hysky/skyblocker/skyblock/end/BeaconHighlighter.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/end/BeaconHighlighter.java b/src/main/java/de/hysky/skyblocker/skyblock/end/BeaconHighlighter.java
index 667318a4..65e9e639 100644
--- a/src/main/java/de/hysky/skyblocker/skyblock/end/BeaconHighlighter.java
+++ b/src/main/java/de/hysky/skyblocker/skyblock/end/BeaconHighlighter.java
@@ -24,16 +24,17 @@ public class BeaconHighlighter {
/**
* Renders the beacon glow around it. It is rendered in a red color with 50% opacity, and
* is visible through walls.
+ *
* @param context An instance of WorldRenderContext for the RenderHelper to use
*/
public static void render(WorldRenderContext context) {
- if(Utils.isInTheEnd() && SkyblockerConfigManager.get().slayer.endermanSlayer.highlightBeacons)
+ if (Utils.isInTheEnd() && SkyblockerConfigManager.get().slayer.endermanSlayer.highlightBeacons)
beaconPositions.forEach((position) -> RenderHelper.renderFilled(
- context,
- position,
- new float[]{1.0f, 0.0f, 0.0f},
- 0.5f,
- false
+ context,
+ position,
+ new float[]{1.0f, 0.0f, 0.0f},
+ 0.5f,
+ false
));
}
}