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