mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-09-06 05:17:05 +02:00
Fixed a bug in /papi installed
This commit is contained in:
@@ -365,7 +365,12 @@ public class ExpansionCloudCommands implements CommandExecutor {
|
||||
|
||||
JSONMessage line = JSONMessage.create(msg);
|
||||
line.tooltip(hover);
|
||||
line.suggestCommand("/papi ecloud info " + expansion.getValue().getName());
|
||||
if (expansion.getValue().shouldUpdate()) {
|
||||
line.suggestCommand("/papi ecloud download " + expansion.getValue().getName());
|
||||
}
|
||||
else {
|
||||
line.suggestCommand("/papi ecloud info " + expansion.getValue().getName());
|
||||
}
|
||||
line.send(p);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user