if (player.isMale()) {
Inventory inv = player.getInventory();
for (int slot = 0; slot < inv.size(); slot++) {
InvItem i = inv.getSlot(slot);
ItemWieldableDef def = ItemAttributes.getWieldable(i.id);
if (ItemAttributes.isWieldable(i.id) && def.getWieldPos() == 1
&& i.wielded && def.femaleOnly()) {
inv.setWield(slot, false);
player.updateWornItems(def.getWieldPos(), player
.getPlayerAppearance().getSprite(def.getWieldPos()));
player.getActionSender().sendUpdateItem(slot);
break;
}
}
}