1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-03 07:54:07 +01:00
Jobs/com/gamingmesh/jobs/api/JobsAreaSelectionEvent.java

35 lines
786 B
Java

package com.gamingmesh.jobs.api;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import com.gamingmesh.jobs.container.CuboidArea;
public final class JobsAreaSelectionEvent extends Event {
private static final HandlerList handlers = new HandlerList();
private CuboidArea area;
private Player player;
public JobsAreaSelectionEvent(Player player, CuboidArea area) {
this.player = player;
this.area = area;
}
public Player getPlayer() {
return this.player;
}
public CuboidArea getArea() {
return area;
}
@Override
public HandlerList getHandlers() {
return handlers;
}
public static HandlerList getHandlerList() {
return handlers;
}
}