Cant work it out,
So this is my equiplist method, but from this, how would I make a certain item or an item with a certain tag not show when this equiplist method is used.
Thanks.Code:public String EquipList(MapleClient c) { StringBuilder str = new StringBuilder(); MapleInventory equip = c.getPlayer().getInventory(MapleInventoryType.EQUIP); List<String> stra = new LinkedList<String>(); for (IItem item : equip.list()) { stra.add("#L"+item.getPosition()+"##v"+item.getItemId()+"##l"); } for (String strb : stra) { str.append(strb); } return str.toString(); }



Reply With Quote


