From 15b16feb33adba05e79262fb6da8662bec7b0ad7 Mon Sep 17 00:00:00 2001 From: XZot1K Date: Fri, 12 May 2023 16:44:55 -0400 Subject: [PATCH] * 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 --- .../java/xzot1k/plugins/ds/api/enums/InteractionType.java | 2 +- src/main/resources/menus/edit.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/xzot1k/plugins/ds/api/enums/InteractionType.java b/src/main/java/xzot1k/plugins/ds/api/enums/InteractionType.java index b382395..aca2b8e 100644 --- a/src/main/java/xzot1k/plugins/ds/api/enums/InteractionType.java +++ b/src/main/java/xzot1k/plugins/ds/api/enums/InteractionType.java @@ -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; diff --git a/src/main/resources/menus/edit.yml b/src/main/resources/menus/edit.yml index 111c4c0..cd137a1 100644 --- a/src/main/resources/menus/edit.yml +++ b/src/main/resources/menus/edit.yml @@ -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"