Fix conduit display modes not working for subclasses

This commit is contained in:
tterrag committed 2015-11-18 21:55:29 -05:00
1 parent e67338531c
commit a7c88fff59
1 file changed
+1 -1
@@ -100,7 +100,7 @@ public class ConduitDisplayMode {
} else if (this == NONE) {
return false;
} else {
return this.conduitType == conduitType;
return this.conduitType.isAssignableFrom(conduitType);
}
}