Skip to content

Commit 9dbfb07

Browse files
Fix not calc the real tax in message when selling item (permission)
1 parent ce69f68 commit 9dbfb07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/maxgamer/quickshop/shop/SimpleShopManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ public void sendSellSuccess(@NotNull UUID seller, @NotNull Shop shop, int amount
12411241
MsgUtil.getTranslateText(shop.getItem()),
12421242
format(total, shop)).forLocale());
12431243
if (plugin.getConfig().getBoolean("show-tax")) {
1244-
double tax = plugin.getConfig().getDouble("tax");
1244+
double tax = getTax(shop, seller);
12451245
if (tax != 0) {
12461246
if (!seller.equals(shop.getOwner())) {
12471247
chatSheetPrinter.printLine(

0 commit comments

Comments
 (0)