This commit is contained in:
PaulStets 2018-09-11 11:04:52 +03:00
parent 47ddef7961
commit c07886f01c

View file

@ -721,7 +721,7 @@ public class VoiceRouter {
private void playAndArriveAtDestination(NextDirectionInfo info) { private void playAndArriveAtDestination(NextDirectionInfo info) {
if (isTargetPoint(info)) { if (isTargetPoint(info)) {
String pointName = info == null ? "" : info.pointName; String pointName = (info == null || info.pointName == null) ? "" : info.pointName;
CommandBuilder play = getNewCommandPlayerToPlay(); CommandBuilder play = getNewCommandPlayerToPlay();
if (play != null) { if (play != null) {
notifyOnVoiceMessage(); notifyOnVoiceMessage();