Skip to content

Commit

Permalink
fix: lobby check for uhc waypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
MicrocontrollersDev committed Jan 4, 2024
1 parent 77ed78e commit 65f7dd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class MiddleWaypointUHC {
@SubscribeEvent
public void onRenderWorldLast(RenderWorldLastEvent event) {
LocrawInfo locraw = LocrawUtil.INSTANCE.getLocrawInfo();
if (HypixelUtils.INSTANCE.isHypixel() && HytilsConfig.uhcMiddleWaypoint && (locraw != null && (locraw.getGameType() == LocrawInfo.GameType.UHC_CHAMPIONS || locraw.getGameType() == LocrawInfo.GameType.SPEED_UHC))) {
if (HypixelUtils.INSTANCE.isHypixel() && LocrawUtil.INSTANCE.isInGame() && HytilsConfig.uhcMiddleWaypoint && (locraw != null && (locraw.getGameType() == LocrawInfo.GameType.UHC_CHAMPIONS || locraw.getGameType() == LocrawInfo.GameType.SPEED_UHC))) {
WaypointUtil.renderWayPoint(HytilsConfig.uhcMiddleWaypointText, block, event.partialTicks);
}
}
Expand Down

0 comments on commit 65f7dd8

Please sign in to comment.