private void equipCommand(String input, Player hero) {
        boolean pass = false;
        Equipment original = null; //The original equipment that was on the player
        Equipment temp = null; //The equipment found in the players inventory

        for (Item i : hero.getInventory()) {
            for (String s : i.getTags()) {
                if (s.equalsIgnoreCase(input)) {
                    if (i.getClass().getSuperclass().equals(Equipment.class) || i.getClass().getSuperclass().equals(Weapon.class)) {
                        pass = true;
                        temp = (Equipment) i; //Sets the current item to a temp variable

                        int equipType = temp.getEquipmentType();
                        if (equipType > 7) {
                            equipType = equipType - 1; //For index mapping purposes, look at docs
                        }
                        original = hero.getEquipment()[equipType - 1]; //Gets the current players equipment, semi chance of bug but none so far
                        hero.setEquipment(temp); //Sets the equipment from the inventory
                        System.out.println("Equiped " + temp.getName());
                    }
                    else {
                        System.out.println("You can't equip that!");
                        pass = true;
                    }
                }
            }
        }

        hero.getInventory().remove(temp); //removes the item from the inventory
        if (!pass) {
            System.out.println("There's no item here called that.");
        }
        else if (temp != null && !original.getName().equals("None")) { //Switch the equipment from inventory, all empty slots have a "None" equipment in them
            hero.addItemToInventory(original);
        }
    }