mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-22 14:16:53 +01:00
Fixed a bug in /papi installed
This commit is contained in:
parent
556faf4290
commit
90bc3c8da1
@ -365,7 +365,12 @@ public class ExpansionCloudCommands implements CommandExecutor {
|
|||||||
|
|
||||||
JSONMessage line = JSONMessage.create(msg);
|
JSONMessage line = JSONMessage.create(msg);
|
||||||
line.tooltip(hover);
|
line.tooltip(hover);
|
||||||
|
if (expansion.getValue().shouldUpdate()) {
|
||||||
|
line.suggestCommand("/papi ecloud download " + expansion.getValue().getName());
|
||||||
|
}
|
||||||
|
else {
|
||||||
line.suggestCommand("/papi ecloud info " + expansion.getValue().getName());
|
line.suggestCommand("/papi ecloud info " + expansion.getValue().getName());
|
||||||
|
}
|
||||||
line.send(p);
|
line.send(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user