#1348 Item conduits not connecting to tesseracts in receive only mode

This commit is contained in:
CrazyPants committed 2014-12-06 21:03:28 +08:00
1 parent abbc57c8dd
commit 52fe7c9e10
2 files changed
+4 -1

No files matched your search

@@ -547,7 +547,9 @@ public class ItemConduit extends AbstractConduit implements IItemConduit {
//TODO: The MFR thing is a horrible hack. Blocks like the harvester make no slots accessible but will push into a connected
//conduit. I could just return true for sided inventories but this will lead to confusing connections in some cases.
//Therefore, bad hack for now.
return (slots != null && slots.length != 0) || inv.getClass().getName().startsWith("powercrystals.minefactoryreloaded");
return (slots != null && slots.length != 0) || inv.getClass().getName().startsWith("powercrystals.minefactoryreloaded") ||
inv.getClass().getName().endsWith("TileTesseract");
} else {
return inv != null;
}