fix: use of missing method on adventure-platform-bukkit

dependabot/gradle/org.projectlombok-lombok-1.18.34 1.0.3
William 5 months ago
parent d43e81aa46
commit 00b3beea32
No known key found for this signature in database

@ -72,6 +72,7 @@ public class BukkitCommand extends BaseCommand<CommandSender> {
this.setAliases(command.getAliases());
}
@SuppressWarnings("deprecation")
@Override
public boolean execute(@NotNull CommandSender commandSender, @NotNull String alias, @NotNull String[] args) {
try {
@ -79,7 +80,7 @@ public class BukkitCommand extends BaseCommand<CommandSender> {
} catch (CommandSyntaxException e) {
getAudience(commandSender).sendMessage(Component
.translatable("command.context.parse_error", NamedTextColor.RED)
.arguments(
.args(
Component.text(e.getRawMessage().getString()),
Component.text(e.getCursor()),
Component.text(e.getContext())

@ -3,6 +3,6 @@ javaVersion=17
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
org.gradle.daemon=true
library_version=1.0.2
library_version=1.0.3
library_archive=uniform
library_description=Cross-platform wrapper for making Brigadier commands, based on BrigadierWrapper by Tofaa2, itself inspired by emortalmcs command system.
Loading…
Cancel
Save