don't expose ItemHandler to crafter's facing side implements
@@ -39,8 +39,10 @@ public class CrafterTile extends NetworkNodeTile<CrafterNetworkNode> {
@Override
public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction direction) {
if (cap == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY) {
+ if (direction != null && !direction.equals(this.getNode().getDirection())) {
return patternsCapability.cast();
}
+ }
return super.getCapability(cap, direction);
}
