ChromaCore/src/main/java/buttondevteam/lib/TBMCPlayerAddEvent.java
NorbiPeti 43aefc0639 Moving things back to the Core
After hours of trying to rebase the commits to a31c353,
I decided that it's not that significant anyways.
2016-11-02 14:48:40 +01:00

36 lines
No EOL
675 B
Java

package buttondevteam.lib;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
/**
* <p>
* This event gets called when a new player joins. After this event, the
* {@link TBMCPlayerSaveEvent} will be called.
* </p>
*
* @author Norbi
*
*/
public class TBMCPlayerAddEvent extends Event {
private static final HandlerList handlers = new HandlerList();
private TBMCPlayer player;
public TBMCPlayerAddEvent(TBMCPlayer player) {
this.player = player;
}
public TBMCPlayer GetPlayer() {
return player;
}
@Override
public HandlerList getHandlers() {
return handlers;
}
public static HandlerList getHandlerList() {
return handlers;
}
}