Skip to content

Commit eef4f50

Browse files
authored
Merge pull request #695 from Multiverse/fix/config-comment
Fix minor config comment issues
2 parents 6b86c5f + 381a48f commit eef4f50

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/org/mvplugins/multiverse/portals/config/PortalsConfigNodes.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public Object serialize(Material material, Class<Material> aClass) {
114114

115115
final ConfigNode<Boolean> enforcePortalAccess = node(ConfigNode.builder("portal-usage.enforce-portal-access", Boolean.class)
116116
.comment("If enabled, players will not be able to teleport to mvportals they do not have access to.")
117-
.comment("The permission node is: `multiverse.portal.access.PORTALNAME`")
117+
.comment("The permission node is: `multiverse.portal.access.<portal-name>`")
118118
.defaultValue(true)
119119
.name("enforce-portal-access")
120120
.aliases("enforceportalaccess")
@@ -123,7 +123,7 @@ public Object serialize(Material material, Class<Material> aClass) {
123123

124124
final ConfigNode<Integer> portalCooldown = node(ConfigNode.builder("portal-usage.portal-cooldown", Integer.class)
125125
.comment("")
126-
.comment("The number of seconds a player must wait between using a mvportal.")
126+
.comment("The time (in milliseconds) a player must wait between using a mvportal.")
127127
.defaultValue(1000)
128128
.name("portal-cooldown")
129129
.aliases("portalcooldown")
@@ -161,6 +161,7 @@ public Object serialize(Material material, Class<Material> aClass) {
161161
.comment("")
162162
.comment("If enabled, player movement will be tracked to determine if the player has entered a portal.")
163163
.comment("Disabling this will cause mvportals without nether or end fill to not work.")
164+
.comment("Only disable this if all your portals have nether or end fill and want to slight enhance performance.")
164165
.defaultValue(true)
165166
.name("use-on-move")
166167
.aliases("useonmove")

0 commit comments

Comments
 (0)