
merged routines, fixed "Protect_Always", added possibility for full Protection when noone is playing... Fixed autorestart, added configurable countdown. reload command : fixed multiple listeners restart command : fixed reopen, merged routines, added respawn close command: fixed for multiple arenas and merged routines. open command: small textfix fix for whitelisted commands (can be used now...)
28 lines
549 B
Java
28 lines
549 B
Java
package me.Travja.HungerArena;
|
|
|
|
import org.bukkit.entity.Player;
|
|
import org.bukkit.event.HandlerList;
|
|
import org.bukkit.event.player.PlayerEvent;
|
|
|
|
/**
|
|
*
|
|
* @author YoshiGenius
|
|
*/
|
|
public class PlayerWinGamesEvent extends PlayerEvent {
|
|
|
|
private static final HandlerList handlers = new HandlerList();
|
|
|
|
public PlayerWinGamesEvent(final Player p) {
|
|
super(p);
|
|
}
|
|
|
|
public HandlerList getHandlers() {
|
|
return handlers;
|
|
}
|
|
|
|
public static HandlerList getHandlerList() {
|
|
return handlers;
|
|
}
|
|
|
|
}
|