getUnits from active profile not interface
This commit is contained in:
parent
b53970fcd7
commit
0b7832ec60
|
@ -961,7 +961,7 @@ public class ConfigBuilderPlugin implements PluginBase, PumpInterface, Constrain
|
|||
}
|
||||
|
||||
public String getProfileUnits() {
|
||||
return activeProfile.getUnits();
|
||||
return getProfile().getUnits();
|
||||
}
|
||||
|
||||
public Profile getProfile(long time) {
|
||||
|
|
Loading…
Reference in a new issue