Skip to content

Commit

Permalink
* Re-named the "AMOUNT_UNIT_COUNT" InteractionType to "SHOP_ITEM_AMOU…
Browse files Browse the repository at this point in the history
…NT" to better suit the feature.

  - This includes configuration changes to mirror this enum change.

Signed-off-by: Jeremiah Osborne <alexosborne54@gmail.com>
  • Loading branch information
XZot1K committed May 12, 2023
1 parent c5cb09f commit 15b16fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

public enum InteractionType {
SELECT_SALE_ITEM, SELECT_TRADE_ITEM, AMOUNT_BUY_PRICE,
AMOUNT_SELL_PRICE, AMOUNT_UNIT_COUNT, AMOUNT_PLAYER_BUY_LIMIT,
AMOUNT_SELL_PRICE, SHOP_ITEM_AMOUNT, AMOUNT_PLAYER_BUY_LIMIT,
AMOUNT_PLAYER_SELL_LIMIT, AMOUNT_GLOBAL_BUY_LIMIT, AMOUNT_GLOBAL_SELL_LIMIT,
AMOUNT_STOCK, AMOUNT_BALANCE, DELETE;

Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/menus/edit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ buttons:
material: "EMERALD"
name: "&eSell Price: &a{currency-symbol}{base-sell-price}"
lore: [ "", "&aClick &7to adjust", "&7the sell price." ]
unit-count:
shop-item-amount:
slot: 5
material: "REDSTONE_TORCH"
name: "&eUnit Count: &a{unit-count}"
lore: [ "", "&aClick &7to adjust", "&7the unit count." ]
name: "&eStack Size: &a{unit-count}"
lore: [ "", "&aClick &7to adjust", "&7the shop item's unit", "&7stack size." ]
stock:
slot: 12
material: "CHEST_MINECART"
Expand Down

0 comments on commit 15b16fe

Please sign in to comment.