mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-21 20:52:42 +00:00
Fixed crash with ME conduit fix.
This commit is contained in:
1 parent
a4f0e68cb9
commit
d934d59cbd
1 file changed
+3
@@ -333,6 +333,9 @@ public class MEConduit extends AbstractConduit implements IMEConduit {
|
||||
public EnumSet<ForgeDirection> getConnections() {
|
||||
Set<ForgeDirection> cons = getConduitConnections();
|
||||
cons.addAll(getExternalConnections());
|
||||
if(cons.isEmpty()) {
|
||||
return EnumSet.noneOf(ForgeDirection.class);
|
||||
}
|
||||
return EnumSet.copyOf(cons);
|
||||
//return validConnections;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user