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
|
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:
|
||||||
|
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user