Changed some logic to suggest the right command.

This commit is contained in:
darbyjack 2019-06-28 12:14:30 -05:00
parent d0d0c99505
commit 763bb52d06
No known key found for this signature in database
GPG Key ID: 392E68B2FE0ED3E5

View File

@ -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 {