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) {
|
for (PlayerShop playerShop : shops) {
|
||||||
if (!ShopUtil.canManageShop(player, playerShop))
|
if (!ShopUtil.canManageShop(player, playerShop))
|
||||||
continue;
|
continue;
|
||||||
if (!playerShop.getType().equals(ShopType.SELL))
|
if (playerShop.getType().equals(ShopType.BUY))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
double balance = playerShop.getBalance();
|
double balance = playerShop.getBalance();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user