/** * Gets the ammo it should give after a purchase. * * @return the ammo it should give after a purchase. */ public int getResultAmmoAmount() { return (int) SettingsManager.getConfig().get("Gadgets." + type.getConfigName() + ".Ammo.Result-Amount"); }
/** * Gets the price for each ammo purchase. * * @return the price for each ammo purchase. */ public int getPrice() { return (int) SettingsManager.getConfig().get("Gadgets." + type.getConfigName() + ".Ammo.Price"); }