Skip to content

Commit

Permalink
Fix NPE in linear waypoint editor
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Apr 14, 2020
1 parent 09f7cbb commit e288bd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ private void onWaypointsModified() {
if (currentGoal != null) {
currentGoal.onProviderChanged();
}
if (conversation != null) {
if (conversation != null && getCurrentWaypoint() != null) {
getCurrentWaypoint().describeTriggers(player);
}
}
Expand Down

0 comments on commit e288bd9

Please sign in to comment.