Skip to content

Commit 79a9959

Browse files
committed
ugh, anyway it works now
1 parent b70694d commit 79a9959

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

addon/discount/src/main/java/com/ghostchu/quickshop/addon/discount/command/DiscountCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ private void create(CommandSender sender, String[] passThroughArgs) {
258258
quickshop.text().of(sender, "addon.discount.invalid-threshold-restriction").send();
259259
case INVALID_EXPIRE_TIME -> quickshop.text().of(sender, "addon.discount.invalid-expire-time").send();
260260
case CODE_EXISTS -> quickshop.text().of(sender, "addon.discount.discount-code-already-exists").send();
261-
case SUCCESS -> quickshop.text().of(sender, "addon.discount.discount-code-created",
261+
case SUCCESS -> quickshop.text().of(sender, "addon.discount.discount-code-created-successfully",
262262
code,
263263
CommonUtil.prettifyText(codeType.name()),
264264
"/qs discount install " + code,

quickshop-bukkit/src/main/resources/lang/messages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ addon:
13181318
discount-code-config-shop-remove-failure: "<red>This shop not exists in your discount code allow list."
13191319
discount-code-config-expire: "<green>Successfully changed your code expire time."
13201320
discount-code-config-applied: "<green>Config the discount code successfully!"
1321-
discount-code-created: |
1321+
discount-code-created-successfully: |
13221322
<green>Your discount code <yellow>{0}</yellow> has been successfully created!
13231323
<gold>Scope: <aqua>{1}</aqua></gold>.
13241324
<gold>Share with others: <color:#bcef26>{2}</color:#bcef26></gold>.

0 commit comments

Comments
 (0)