mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-12-02 15:13:33 +01:00
Allow show to be ran from console even if we can't fill in all placeholders
This commit is contained in:
parent
f85d2a0a17
commit
999067a430
@ -88,9 +88,11 @@ public class CmdShow extends FCommand {
|
||||
continue; // Due to minimal f show.
|
||||
}
|
||||
|
||||
parsed = TagUtil.parsePlaceholders(fme.getPlayer(), parsed);
|
||||
if (fme != null) {
|
||||
parsed = TagUtil.parsePlaceholders(fme.getPlayer(), parsed);
|
||||
}
|
||||
|
||||
if (TagUtil.hasFancy(parsed)) {
|
||||
if (fme != null && TagUtil.hasFancy(parsed)) {
|
||||
List<FancyMessage> fancy = TagUtil.parseFancy(faction, fme, parsed);
|
||||
if (fancy != null) {
|
||||
sendFancyMessage(fancy);
|
||||
|
Loading…
Reference in New Issue
Block a user