final int[] items = { 0, 0 };
onlyApplicable = true;
String chat = "";
for (final long child : trade.OtherTrade) {
final TradeItem item = trade.OtherItems.get(child);
final TradeItemDescription itemInfo = trade.OtherItems.getDescription(item.classId + "_" + item.instanceId);
final Item record = trade.OtherInventory.getItem(child);
final boolean itemok = !record.isNotCraftable && record.quality == 6;
if (!accepted.containsKey(record.defIndex)) {