Fix Random shops not being included in the Collect sales function.
This commit is contained in:
parent
9f8bff3ad7
commit
8086d49ae9
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user