Skip to content

Commit

Permalink
add Barrels to sortable inventories
Browse files Browse the repository at this point in the history
Fixes #20
  • Loading branch information
RoboMWM committed Nov 4, 2019
1 parent ec5a588 commit e422364
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/me/ryanhamshire/AutomaticInventory/AIEventHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,8 @@ static boolean isSortableChestInventory(Inventory inventory, String name)
return holder instanceof Chest
|| holder instanceof ShulkerBox
|| holder instanceof DoubleChest
|| holder instanceof StorageMinecart;
|| holder instanceof StorageMinecart
|| holder instanceof Barrel;
}

@EventHandler(ignoreCancelled = true, priority = EventPriority.MONITOR)
Expand Down

0 comments on commit e422364

Please sign in to comment.