Skip to content

Commit

Permalink
Fix conduit display modes not working for subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
tterrag1098 committed Nov 19, 2015
1 parent e673385 commit a7c88ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public boolean renderConduit(Class<? extends IConduit> conduitType) {
} else if (this == NONE) {
return false;
} else {
return this.conduitType == conduitType;
return this.conduitType.isAssignableFrom(conduitType);
}
}

Expand Down

0 comments on commit a7c88ff

Please sign in to comment.