Skip to content

Commit

Permalink
GH-131 Added missing rainbow permission (#133)
Browse files Browse the repository at this point in the history
* Added missing resolver for rainbow

* Added missing permissions in plugin.yml
  • Loading branch information
P1otrulla authored Jul 30, 2024
1 parent 1e751d1 commit 14b2c56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class ChatHandlerImpl implements ChatHandler {
.put("chatformatter.selector", StandardTags.selector())
.put("chatformatter.keybind", StandardTags.keybind())
.put("chatformatter.newline", StandardTags.newline())
.put("chatformatter.rainbow", StandardTags.rainbow())
.build();

private static final GsonComponentSerializer GSON = GsonComponentSerializer.gson();
Expand Down
4 changes: 3 additions & 1 deletion chatformatter-paper-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ bukkit {
"chatformatter.translatable",
"chatformatter.selector",
"chatformatter.keybind",
"chatformatter.newline"
"chatformatter.newline",
"chatformatter.rainbow"
)
default = Default.OP
}
Expand Down Expand Up @@ -67,6 +68,7 @@ bukkit {
register("chatformatter.selector") { default = Default.OP }
register("chatformatter.keybind") { default = Default.OP }
register("chatformatter.newline") { default = Default.OP }
register("chatformatter.rainbow") { default = Default.OP }

register("chatformatter.color.*") {
children = listOf(
Expand Down

0 comments on commit 14b2c56

Please sign in to comment.