AbilityPicker shows abilities now always in the order they were defined on the object.

This commit is contained in:
LevelX2 2012-10-10 20:43:18 +02:00
parent 4dfadb3ea1
commit 7c44b16504
9 changed files with 29 additions and 28 deletions

View file

@ -58,7 +58,7 @@ public class PlayerQueryEventSource implements EventSource<PlayerQueryEvent>, Se
dispatcher.fireEvent(PlayerQueryEvent.selectEvent(playerId, message));
}
public void chooseAbility(UUID playerId, String message, Collection<? extends ActivatedAbility> choices) {
public void chooseAbility(UUID playerId, String message, List<? extends ActivatedAbility> choices) {
dispatcher.fireEvent(PlayerQueryEvent.chooseAbilityEvent(playerId, message, choices));
}