Skip to content

Commit 15b16fe

Browse files
committed
* Re-named the "AMOUNT_UNIT_COUNT" InteractionType to "SHOP_ITEM_AMOUNT" to better suit the feature.
- This includes configuration changes to mirror this enum change. Signed-off-by: Jeremiah Osborne <alexosborne54@gmail.com>
1 parent c5cb09f commit 15b16fe

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/xzot1k/plugins/ds/api/enums/InteractionType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
public enum InteractionType {
66
SELECT_SALE_ITEM, SELECT_TRADE_ITEM, AMOUNT_BUY_PRICE,
7-
AMOUNT_SELL_PRICE, AMOUNT_UNIT_COUNT, AMOUNT_PLAYER_BUY_LIMIT,
7+
AMOUNT_SELL_PRICE, SHOP_ITEM_AMOUNT, AMOUNT_PLAYER_BUY_LIMIT,
88
AMOUNT_PLAYER_SELL_LIMIT, AMOUNT_GLOBAL_BUY_LIMIT, AMOUNT_GLOBAL_SELL_LIMIT,
99
AMOUNT_STOCK, AMOUNT_BALANCE, DELETE;
1010

src/main/resources/menus/edit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ buttons:
4141
material: "EMERALD"
4242
name: "&eSell Price: &a{currency-symbol}{base-sell-price}"
4343
lore: [ "", "&aClick &7to adjust", "&7the sell price." ]
44-
unit-count:
44+
shop-item-amount:
4545
slot: 5
4646
material: "REDSTONE_TORCH"
47-
name: "&eUnit Count: &a{unit-count}"
48-
lore: [ "", "&aClick &7to adjust", "&7the unit count." ]
47+
name: "&eStack Size: &a{unit-count}"
48+
lore: [ "", "&aClick &7to adjust", "&7the shop item's unit", "&7stack size." ]
4949
stock:
5050
slot: 12
5151
material: "CHEST_MINECART"

0 commit comments

Comments
 (0)