mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-28 05:35:45 +01:00
Move callback order
This commit is contained in:
parent
5c0b32e8a3
commit
5b6dc2e607
@ -35,7 +35,6 @@ public class LinearWaypointProvider implements WaypointProvider, Iterable<Waypoi
|
||||
@Override
|
||||
public void end() {
|
||||
player.sendMessage(ChatColor.AQUA + "Exited the linear waypoint editor.");
|
||||
callback.onProviderChanged();
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
@ -53,6 +52,7 @@ public class LinearWaypointProvider implements WaypointProvider, Iterable<Waypoi
|
||||
Messaging.send(player,
|
||||
String.format("<e>Removed<a> a waypoint (<e>%d<a> remaining)", waypoints.size()));
|
||||
}
|
||||
callback.onProviderChanged();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user