ArrayList<StoredItemStack> stacks = new ArrayList();
List<InventoryHandler> handlers = SonarCore.inventoryProviders.getObjects();
for (InventoryHandler handler : handlers) {
if (handler.canHandleItems(from, dirFrom)) {
handler.getItems(stacks, from, dirFrom);
<BUG>continue;
}
}</BUG>
for (StoredItemStack stack : stacks) {
StoredItemStack removed = removeItems(from, stack.copy(), dirFrom, ActionType.SIMULATE, filter);

ArrayList<StoredItemStack> stacks = new ArrayList();
List<InventoryHandler> handlers = SonarCore.inventoryProviders.getObjects();
for (InventoryHandler handler : handlers) {
if (handler.canHandleItems(from, dirFrom)) {
handler.getItems(stacks, from, dirFrom);
break;
}
}
if(stacks.isEmpty()){
return;
}
for (StoredItemStack stack : stacks) {
StoredItemStack removed = removeItems(from, stack.copy(), dirFrom, ActionType.SIMULATE, filter);
