Port to adventure and MineDown-adventure

This commit is contained in:
William committed 2022-09-20 13:02:26 +01:00
1 parent c56936d9d5
commit 98c2461c89
17 files changed
+60 -48

No files matched your search

@@ -57,7 +57,7 @@ public class BukkitCommand implements CommandExecutor, TabExecutor {
consoleExecutable.onConsoleExecute(args);
} else {
plugin.getLocales().getLocale("error_in_game_only").
ifPresent(locale -> sender.spigot().sendMessage(locale.toComponent()));
ifPresent(locale -> plugin.getAudiences().sender(sender).sendMessage(locale.toComponent()));
}
}
return true;