From b79537ebbce91fe18eff9bf10f34c4a826b2bf26 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Tue, 17 Jan 2023 12:59:16 +0000 Subject: [PATCH] Clean up merge --- Core/src/main/java/com/plotsquared/core/player/PlotPlayer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/core/player/PlotPlayer.java b/Core/src/main/java/com/plotsquared/core/player/PlotPlayer.java index 0ff12ab4c..6bb9e1bad 100644 --- a/Core/src/main/java/com/plotsquared/core/player/PlotPlayer.java +++ b/Core/src/main/java/com/plotsquared/core/player/PlotPlayer.java @@ -57,6 +57,7 @@ import com.sk89q.worldedit.world.item.ItemType; import net.kyori.adventure.audience.Audience; import net.kyori.adventure.text.Component; import net.kyori.adventure.text.minimessage.MiniMessage; +import net.kyori.adventure.text.minimessage.tag.Tag; import net.kyori.adventure.text.minimessage.tag.resolver.TagResolver; import net.kyori.adventure.title.Title; import org.apache.logging.log4j.LogManager; @@ -205,7 +206,7 @@ public abstract class PlotPlayer

implements CommandCaller, OfflinePlotPlayer, if (notify) { sendMessage( TranslatableCaption.of("permission.no_permission_event"), - Template.of("node", permission) + TagResolver.resolver("node", Tag.inserting(Component.text(permission))) ); } return false;