mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01: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);
|
JSONMessage line = JSONMessage.create(msg);
|
||||||
line.tooltip(hover);
|
line.tooltip(hover);
|
||||||
if (expansion.shouldUpdate()) {
|
if (expansion.shouldUpdate() || !expansion.hasExpansion()) {
|
||||||
line.suggestCommand("/papi ecloud download " + expansion.getName());
|
line.suggestCommand("/papi ecloud download " + expansion.getName());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user