mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-02 13:31:43 +01:00
Fix NPE in linear waypoint editor
This commit is contained in:
parent
09f7cbb9d5
commit
e288bd934c
@ -360,7 +360,7 @@ public class LinearWaypointProvider implements EnumerableWaypointProvider {
|
||||
if (currentGoal != null) {
|
||||
currentGoal.onProviderChanged();
|
||||
}
|
||||
if (conversation != null) {
|
||||
if (conversation != null && getCurrentWaypoint() != null) {
|
||||
getCurrentWaypoint().describeTriggers(player);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user