Skip to content

Commit

Permalink
Allow output from the Crafting Storage
Browse files Browse the repository at this point in the history
To prevent the table from throwing everything out of the storage, it is set to only work when a filter unit is installed.
Fixes Vswe#25.
Should fix Vswe#33
  • Loading branch information
spacebuilder2020 committed Apr 20, 2017
1 parent ae1813f commit 216d121
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ public boolean canAcceptItems() {
return true;
}

@Override
public boolean canSupplyItems()
{
return table.getUpgradePage().hasGlobalUpgrade(Upgrade.FILTER);
}

@Override
public boolean shouldSlotHighlightItems() {
return false;
Expand Down

0 comments on commit 216d121

Please sign in to comment.