mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-01 08:39:31 +01:00
Add hover for resyncs with nothing done in-game
This commit is contained in:
parent
5d63417fbb
commit
03c26a6ca2
@ -102,7 +102,9 @@ public class ResyncCommand extends CombinedCommand {
|
||||
.withDiscordFormatting(Text.Formatting.BOLD),
|
||||
new Text(")").withGameColor(NamedTextColor.GRAY)
|
||||
),
|
||||
total > 0 ? Collections.singletonList(new Text(resultHover)) : Collections.emptyList()
|
||||
total > 0
|
||||
? Collections.singletonList(new Text(resultHover))
|
||||
: (execution instanceof GameCommandExecution ? Collections.singletonList(new Text("Nothing done")) : Collections.emptyList())
|
||||
);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user