ChromaCore/src/buttondevteam/player/TBMCPlayerLoadEvent.java

29 lines
617 B
Java
Raw Normal View History

2016-07-04 22:20:39 +00:00
package buttondevteam.player;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
public class TBMCPlayerLoadEvent extends Event {
private static final HandlerList handlers = new HandlerList();
private YamlConfiguration config;
public TBMCPlayerLoadEvent(YamlConfiguration yc) {
this.config = yc;
}
public YamlConfiguration GetPlayerConfig() {
return config;
}
@Override
public HandlerList getHandlers() {
return handlers;
}
public static HandlerList getHandlerList() {
return handlers;
}
}