mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-24 19:45:14 +01:00
Fix an issue when edit menu did not display item amount.
This commit is contained in:
parent
88215b6f0c
commit
23778ffca2
@ -907,6 +907,7 @@ public class EditChallengePanel extends CommonPanel
|
||||
sorted(Comparator.comparing(ItemStack::getType)).
|
||||
forEach(itemStack ->
|
||||
description.add(this.user.getTranslationOrNothing(reference + "list",
|
||||
"[number]", String.valueOf(itemStack.getAmount()),
|
||||
"[item]", Utils.prettifyObject(itemStack, this.user))));
|
||||
}
|
||||
|
||||
@ -1463,6 +1464,7 @@ public class EditChallengePanel extends CommonPanel
|
||||
sorted(Comparator.comparing(ItemStack::getType)).
|
||||
forEach(itemStack ->
|
||||
description.add(this.user.getTranslationOrNothing(reference + "list",
|
||||
"[number]", String.valueOf(itemStack.getAmount()),
|
||||
"[item]", Utils.prettifyObject(itemStack, this.user))));
|
||||
}
|
||||
|
||||
@ -1715,6 +1717,7 @@ public class EditChallengePanel extends CommonPanel
|
||||
sorted(Comparator.comparing(ItemStack::getType)).
|
||||
forEach(itemStack ->
|
||||
description.add(this.user.getTranslationOrNothing(reference + "list",
|
||||
"[number]", String.valueOf(itemStack.getAmount()),
|
||||
"[item]", Utils.prettifyObject(itemStack, this.user))));
|
||||
}
|
||||
|
||||
|
@ -403,6 +403,7 @@ public class EditLevelPanel extends CommonPagedPanel<Challenge>
|
||||
sorted(Comparator.comparing(ItemStack::getType)).
|
||||
forEach(itemStack ->
|
||||
description.add(this.user.getTranslationOrNothing(reference + "list",
|
||||
"[number]", String.valueOf(itemStack.getAmount()),
|
||||
"[item]", Utils.prettifyObject(itemStack, this.user))));
|
||||
}
|
||||
|
||||
|
@ -328,7 +328,7 @@ challenges:
|
||||
&7 items for this
|
||||
&7 challenge to be completable.
|
||||
title: "&7 Items: "
|
||||
list: " &8 - [item]"
|
||||
list: " &8 - [number] x [item]"
|
||||
none: "&7 Items are not added."
|
||||
add_ignored_meta:
|
||||
name: "&f&l Add Ignore Metadata"
|
||||
@ -338,7 +338,7 @@ challenges:
|
||||
&7 any meta-data that
|
||||
&7 is assigned to them.
|
||||
title: "&7 Items: "
|
||||
list: " &8 - [item]"
|
||||
list: " &8 - [number] x [item]"
|
||||
none: "&7 Items are not added."
|
||||
remove_ignored_meta:
|
||||
name: "&f&l Remove Ignore Metadata"
|
||||
@ -449,7 +449,7 @@ challenges:
|
||||
&7 Allows to change reward
|
||||
&7 items.
|
||||
title: "&7 Items: "
|
||||
list: " &8 - [item]"
|
||||
list: " &8 - [number] x [item]"
|
||||
none: "&7 Items are not added."
|
||||
repeat_reward_items:
|
||||
name: "&f&l Repeat Reward Items"
|
||||
@ -458,7 +458,7 @@ challenges:
|
||||
&7 reward items for this
|
||||
&7 challenge.
|
||||
title: "&7 Items: "
|
||||
list: " &8 - [item]"
|
||||
list: " &8 - [number] x [item]"
|
||||
none: "&7 Items are not added."
|
||||
reward_experience:
|
||||
name: "&f&l Reward Experience"
|
||||
|
Loading…
Reference in New Issue
Block a user