Skip to content

Commit

Permalink
invert w.hasDimensions in ModWaypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
GT3CH1 committed Mar 23, 2023
2 parents 4448e49 + 633c874 commit 8cc8ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/peasenet/mods/render/ModWaypoint.kt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class ModWaypoint : Mod(Type.WAYPOINT), EntityRenderListener, CameraBobListener
em.subscribe(EntityRenderListener::class.java, this)
em.subscribe(CameraBobListener::class.java, this)
for (w in waypointConfig.getLocations()) {
if (w.hasDimensions()) {
if (!w.hasDimensions()) {
PlayerUtils.sendMessage(
"§6[WARNING]§7 Waypoint \"§b${w.name}§7\" has no dimensions set and will not be rendered.", true
)
Expand Down

0 comments on commit 8cc8ed6

Please sign in to comment.