Skip to content

Commit

Permalink
Fix API version not being displayed correctly
Browse files Browse the repository at this point in the history
Fixes #98
  • Loading branch information
RappyTV committed Jan 18, 2025
1 parent 19a049f commit b95e59c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public boolean execute(String prefix, String[] arguments) {
"globaltags.commands.base.api.version",
NamedTextColor.GREEN,
response != null && response.isSuccessful()
? Component.text(response.getData(), NamedTextColor.AQUA)
? Component.text(response.getData().getVersion(), NamedTextColor.AQUA)
: Component.translatable(
"globaltags.commands.base.api.offline",
NamedTextColor.RED
Expand Down

0 comments on commit b95e59c

Please sign in to comment.