mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
lol
This commit is contained in:
parent
533e4fe369
commit
82d92565e7
@ -88,7 +88,7 @@ public class Command_manageshop extends FreedomCommand
|
|||||||
msg(PLAYER_NOT_FOUND);
|
msg(PLAYER_NOT_FOUND);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
playerData.setCoins(playerData.getCoins() + amount);
|
playerData.setCoins(playerData.getCoins() - amount);
|
||||||
if (playerData.getCoins() < 0)
|
if (playerData.getCoins() < 0)
|
||||||
{
|
{
|
||||||
playerData.setCoins(0);
|
playerData.setCoins(0);
|
||||||
|
@ -256,12 +256,6 @@ public class ItemFun extends FreedomService
|
|||||||
break;
|
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);
|
event.setCancelled(true);
|
||||||
boolean didHit = false;
|
boolean didHit = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user