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 name: MobArena
author: garbagemule author: garbagemule
main: com.garbagemule.MobArena.MobArena main: com.garbagemule.MobArena.MobArena
version: 0.95.5.12 version: 0.95.5.13
softdepend: [Spout,Towny,Heroes,MagicSpells,Vault] softdepend: [Spout,Towny,Heroes,MagicSpells,Vault]
commands: commands:
ma: ma:

View File

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