mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-13 09:18:05 -04:00
Merge branch 'master-MC1.11' into master-MC1.12
This commit is contained in:
commit
54518a44bb
@ -147,7 +147,7 @@ trait NetworkControl[AETile >: Null <: TileEntity with IActionHost with IGridHos
|
||||
def getCraftables(context: Context, args: Arguments): Array[AnyRef] = {
|
||||
val filter = getFilter(args, 0)
|
||||
result(allCraftables
|
||||
.collect{ case aeCraftItem if matches(convert(aeCraftItem), filter) => new NetworkControl.Craftable(tile, pos, aeCraftItem) }
|
||||
.collect{ case aeCraftItem if filter.isEmpty || matches(convert(aeCraftItem), filter) => new NetworkControl.Craftable(tile, pos, aeCraftItem) }
|
||||
.toArray)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user