Never return null from Widget#getMessage since the

narrator will always dereference it, leading to a crash.
This commit is contained in:
Sebastian Hartte
2020-07-19 12:04:15 +02:00
parent 755ac12b8a
commit 0367b35ce0
3 changed files with 3 additions and 3 deletions
@@ -93,7 +93,7 @@ public class FluidTankWidget extends Widget implements ITooltip {
return desc + "\n" + amountToText;
}
return null;
return "";
}
@Override