Fix Random shops not being included in the Collect sales function.

This commit is contained in:
Len 2024-09-15 18:49:34 +02:00
parent 9f8bff3ad7
commit 8086d49ae9

View File

@ -80,7 +80,7 @@ public class ListShopsGui extends AbstractGui {
for (PlayerShop playerShop : shops) {
if (!ShopUtil.canManageShop(player, playerShop))
continue;
if (!playerShop.getType().equals(ShopType.SELL))
if (playerShop.getType().equals(ShopType.BUY))
continue;
double balance = playerShop.getBalance();