Skip to content

Commit b426f9c

Browse files
authored
bug fix
1 parent 76c1540 commit b426f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/maxgamer/quickshop/listener/PlayerListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ private int getPlayerCanSell(Shop shop, double money, double price, Inventory pl
308308
items = Math.min(items, shop.getRemainingSpace());
309309
// Amount check player selling item total cost and the shop owner's balance
310310
items = Math.min(items, ownerCanAfford);
311-
} else if (plugin.getConfig().getBoolean("shop.pay-unlimited-shop-owners")) {
311+
} else if (plugin.getConfiguration().getBoolean("shop.pay-unlimited-shop-owners")) {
312312
// even if the shop is unlimited, the config option pay-unlimited-shop-owners is set to
313313
// true,
314314
// the unlimited shop owner should have enough money.

0 commit comments

Comments
 (0)