mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-27 04:55:25 +01:00
ArenaCompleteEvent: s/winners/survivors
This commit is contained in:
parent
544fd91de9
commit
345efc9136
@ -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:
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user