Skip to content

Commit

Permalink
PolyconomyPerm: fix missing polyconomy. prefix to permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
lokka30 committed Jan 9, 2025
1 parent db28f98 commit a870f32
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.github.arcaneplugins.polyconomy.plugin.bukkit.misc


import java.util.*

enum class PolyconomyPerm {
Expand All @@ -20,7 +21,7 @@ enum class PolyconomyPerm {
COMMAND_POLYCONOMY_WITHDRAW;

override fun toString(): String {
return name.lowercase(Locale.ROOT).replace('_', '.')
return "polyconomy." + name.lowercase(Locale.ROOT).replace('_', '.')
}

}

0 comments on commit a870f32

Please sign in to comment.