Skip to content

Commit 14b2c56

Browse files
authored
GH-131 Added missing rainbow permission (#133)
* Added missing resolver for rainbow * Added missing permissions in plugin.yml
1 parent 1e751d1 commit 14b2c56

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

chatformatter-core/src/main/java/com/eternalcode/formatter/ChatHandlerImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class ChatHandlerImpl implements ChatHandler {
6464
.put("chatformatter.selector", StandardTags.selector())
6565
.put("chatformatter.keybind", StandardTags.keybind())
6666
.put("chatformatter.newline", StandardTags.newline())
67+
.put("chatformatter.rainbow", StandardTags.rainbow())
6768
.build();
6869

6970
private static final GsonComponentSerializer GSON = GsonComponentSerializer.gson();

chatformatter-paper-plugin/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ bukkit {
3939
"chatformatter.translatable",
4040
"chatformatter.selector",
4141
"chatformatter.keybind",
42-
"chatformatter.newline"
42+
"chatformatter.newline",
43+
"chatformatter.rainbow"
4344
)
4445
default = Default.OP
4546
}
@@ -67,6 +68,7 @@ bukkit {
6768
register("chatformatter.selector") { default = Default.OP }
6869
register("chatformatter.keybind") { default = Default.OP }
6970
register("chatformatter.newline") { default = Default.OP }
71+
register("chatformatter.rainbow") { default = Default.OP }
7072

7173
register("chatformatter.color.*") {
7274
children = listOf(

0 commit comments

Comments
 (0)