From 1455cc9c2e02ae1746730c6377a463db45f30a40 Mon Sep 17 00:00:00 2001 From: Boy Date: Sun, 12 Mar 2023 22:52:44 +0100 Subject: [PATCH] fix build --- .../kotlin/com/mineinabyss/chatty/helpers/ChatHelpers.kt | 1 - .../main/kotlin/com/mineinabyss/chatty/tags/ChattyTags.kt | 5 ----- 2 files changed, 6 deletions(-) diff --git a/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/helpers/ChatHelpers.kt b/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/helpers/ChatHelpers.kt index e8a0bbe..f7ce7aa 100644 --- a/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/helpers/ChatHelpers.kt +++ b/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/helpers/ChatHelpers.kt @@ -90,7 +90,6 @@ fun Player?.buildTagResolver(ignorePermissions: Boolean = false): TagResolver { } else tagResolver.resolvers(ChattyPermissions.chatFormattingPerms.filter { hasPermission(it.key) }.map { it.value }) - tagResolver.resolvers(WHITE_RESOLVER) return tagResolver.build() } diff --git a/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/tags/ChattyTags.kt b/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/tags/ChattyTags.kt index a8f7750..9a4770c 100644 --- a/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/tags/ChattyTags.kt +++ b/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/tags/ChattyTags.kt @@ -1,11 +1,6 @@ package com.mineinabyss.chatty.tags import com.mineinabyss.chatty.helpers.toPlayer -import com.mineinabyss.chatty.helpers.translatePlayerHeadComponent -import com.mineinabyss.idofront.font.Space -import com.mineinabyss.idofront.textcomponents.miniMsg -import net.kyori.adventure.text.Component -import net.kyori.adventure.text.format.NamedTextColor import com.mineinabyss.chatty.helpers.translateFullPlayerSkinComponent import com.mineinabyss.chatty.helpers.translatePlayerHeadComponent import com.mineinabyss.idofront.font.Space