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

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 {