private void dropCommand(String input, Player hero) {
        String amount = parseLastInput(input); //Gets the last word of the input
        Integer amtToRemove = 1; //The amount of the item to drop

        try { //If the last word in the input is a number then get the value and remove the last word from the input
            amtToRemove = Integer.valueOf(amount);
            input = input.substring(0, input.length() - amount.length() -1);
        }
        catch(NumberFormatException e) {}

        int amountFound = 0; //The number of times the item was dropped
        if(amtToRemove < 1) { //Any number below 1 is treated as 1 so -23 is 1 time, same for 0
            amtToRemove = 1;
        }

        Item foundItem = getItemFromInventory(input, hero.getInventory()); //Searches the player's inventory for an item matching the input
        for(int i = 0; i < amtToRemove; i++) { //can make this loop better by getting item instead of searching tag every time
            amountFound += dropItem(hero, input); //Drops the item from the players inventory
        }

        if (amountFound < 1) {
            System.out.println("You don't have an item called that.");
        }
        else if (amountFound > 1) { //For grammar sake
            System.out.println("Dropped " + amountFound + " " + foundItem.getName() + "s.");
        }
        else if (amountFound == 1) {
            System.out.println("Dropped " + foundItem.getName() + ".");
        }
    }