ArenaCompleteEvent: s/winners/survivors

This commit is contained in:
garbagemule 2013-08-08 17:58:19 +02:00
parent 544fd91de9
commit 345efc9136
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
name: MobArena
author: garbagemule
main: com.garbagemule.MobArena.MobArena
version: 0.95.5.12
version: 0.95.5.13
softdepend: [Spout,Towny,Heroes,MagicSpells,Vault]
commands:
ma:

View File

@ -12,12 +12,12 @@ public class ArenaCompleteEvent extends Event {
private static final HandlerList handlers = new HandlerList();
private Arena arena;
private Set<Player> winners;
private Set<Player> survivors;
public ArenaCompleteEvent(Arena arena) {
this.arena = arena;
this.winners = new HashSet<Player>();
this.winners.addAll(arena.getPlayersInArena());
this.survivors = new HashSet<Player>();
this.survivors.addAll(arena.getPlayersInArena());
}
/**
@ -34,8 +34,8 @@ public class ArenaCompleteEvent extends Event {
*
* @return a set of winners
*/
public Set<Player> getWinners() {
return winners;
public Set<Player> getSurvivors() {
return survivors;
}
public HandlerList getHandlers() {