Clean up merge

This commit is contained in:
dordsor21 2023-01-17 12:59:16 +00:00
parent 6efd581500
commit b79537ebbc
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -57,6 +57,7 @@ import com.sk89q.worldedit.world.item.ItemType;
import net.kyori.adventure.audience.Audience; import net.kyori.adventure.audience.Audience;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.minimessage.MiniMessage; 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.text.minimessage.tag.resolver.TagResolver;
import net.kyori.adventure.title.Title; import net.kyori.adventure.title.Title;
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.LogManager;
@ -205,7 +206,7 @@ public abstract class PlotPlayer<P> implements CommandCaller, OfflinePlotPlayer,
if (notify) { if (notify) {
sendMessage( sendMessage(
TranslatableCaption.of("permission.no_permission_event"), TranslatableCaption.of("permission.no_permission_event"),
Template.of("node", permission) TagResolver.resolver("node", Tag.inserting(Component.text(permission)))
); );
} }
return false; return false;