This commit is contained in:
Seth 2020-10-13 13:37:11 -07:00
parent 533e4fe369
commit 82d92565e7
No known key found for this signature in database
GPG Key ID: A7BAB4E14F089CF3
2 changed files with 1 additions and 7 deletions

View File

@ -88,7 +88,7 @@ public class Command_manageshop extends FreedomCommand
msg(PLAYER_NOT_FOUND);
return true;
}
playerData.setCoins(playerData.getCoins() + amount);
playerData.setCoins(playerData.getCoins() - amount);
if (playerData.getCoins() < 0)
{
playerData.setCoins(0);

View File

@ -256,12 +256,6 @@ public class ItemFun extends FreedomService
break;
}
if (onCooldown(player, ShopItem.CLOWN_FISH))
{
player.sendMessage(ChatColor.RED + "You're currently on a cool-down for 30 seconds.");
break;
}
event.setCancelled(true);
boolean didHit = false;