mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-06-26 14:45:01 +02:00
Changed some logic to suggest the right command.
This commit is contained in:
parent
d0d0c99505
commit
763bb52d06
|
@ -383,7 +383,7 @@ public class ExpansionCloudCommands implements CommandExecutor {
|
|||
|
||||
JSONMessage line = JSONMessage.create(msg);
|
||||
line.tooltip(hover);
|
||||
if (expansion.shouldUpdate()) {
|
||||
if (expansion.shouldUpdate() || !expansion.hasExpansion()) {
|
||||
line.suggestCommand("/papi ecloud download " + expansion.getName());
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user