mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-29 06:05:17 +01:00
remove result message for commands by default
This commit is contained in:
parent
291591b7d4
commit
ae4495207e
@ -377,8 +377,12 @@ public class ShopTrait extends Trait {
|
||||
}
|
||||
if (!meta.hasLore()) {
|
||||
List<String> lore = Lists.newArrayList();
|
||||
cost.forEach(a -> lore.add(a.describe()));
|
||||
result.forEach(a -> lore.add(a.describe()));
|
||||
cost.forEach(c -> lore.add(c.describe()));
|
||||
result.forEach(r -> {
|
||||
if (!(r instanceof CommandAction)) {
|
||||
lore.add(r.describe());
|
||||
}
|
||||
});
|
||||
if (timesPurchasable > 0) {
|
||||
lore.add("Times purchasable: " + timesPurchasable);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user