Skip to content

Commit d83d6c6

Browse files
committed
Improve safe location search config comments
1 parent 6fb620c commit d83d6c6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/main/java/org/mvplugins/multiverse/core/config/MVCoreConfigNodes.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,18 @@ private <N extends Node> N node(N node) {
132132

133133
final ConfigNode<Integer> SAFE_LOCATION_HORIZONTAL_SEARCH_RADIUS = node(ConfigNode.builder("teleport.safe-location-horizontal-search-radius", Integer.class)
134134
.comment("")
135-
.comment("Sets the horizontal search radius for finding a safe location to teleport to.")
135+
.comment("Sets the horizontal (x and z-axis) search radius for finding a safe location to teleport to.")
136+
.comment("Increasing this value will widen the search area at the cost of performance.")
137+
.comment("To disable, set to 0.")
136138
.defaultValue(3)
137139
.name("safe-location-horizontal-search-radius")
138140
.build());
139141

140142
final ConfigNode<Integer> SAFE_LOCATION_VERTICAL_SEARCH_RADIUS = node(ConfigNode.builder("teleport.safe-location-vertical-search-radius", Integer.class)
141143
.comment("")
142-
.comment("Sets the vertical search radius for finding a safe location to teleport to.")
144+
.comment("Sets the vertical (y-axis) search radius for finding a safe location to teleport to.")
145+
.comment("Increasing this value will widen the search area at the cost of performance.")
146+
.comment("To disable, set to 0.")
143147
.defaultValue(3)
144148
.name("safe-location-vertical-search-radius")
145149
.build());

0 commit comments

Comments
 (0)