Skip to content

Commit

Permalink
Missed a place to add check for shulker box
Browse files Browse the repository at this point in the history
fixes #40
  • Loading branch information
RoboMWM committed Jan 23, 2021
1 parent eab34e8 commit ea7cefe
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 @@ -405,7 +405,8 @@ static boolean isSortableChestInventory(Inventory inventory, String name)
InventoryType inventoryType = inventory.getType();
if(inventoryType != InventoryType.CHEST
&& inventoryType != InventoryType.ENDER_CHEST
&& inventoryType != InventoryType.SHULKER_BOX) return false;
&& inventoryType != InventoryType.SHULKER_BOX
&& inventoryType != InventoryType.BARREL) return false;

if(name != null && name.contains("*")) return false;

Expand Down

1 comment on commit ea7cefe

@RoboMWM
Copy link
Member Author

@RoboMWM RoboMWM commented on ea7cefe Sep 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk what my commit message was here, I probably meant barrel or something.

Please sign in to comment.