Plex/src/main/java/dev/plex/event/AdminSetRankEvent.java

31 lines
631 B
Java
Raw Normal View History

2021-01-03 07:21:15 +00:00
package dev.plex.event;
2020-11-05 21:17:14 +00:00
2021-01-03 07:21:15 +00:00
import dev.plex.player.PlexPlayer;
import dev.plex.rank.enums.Rank;
2022-01-27 05:28:30 +00:00
import lombok.Data;
import org.bukkit.command.CommandSender;
2020-11-05 21:17:14 +00:00
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
2022-01-27 05:28:30 +00:00
@Data
2020-11-05 21:17:14 +00:00
public class AdminSetRankEvent extends Event
{
private static final HandlerList handlers = new HandlerList();
2020-11-05 21:17:14 +00:00
2022-01-27 05:28:30 +00:00
private final CommandSender sender;
private final PlexPlayer plexPlayer;
private final Rank rank;
2020-11-05 21:17:14 +00:00
@Override
public HandlerList getHandlers()
{
return handlers;
}
public static HandlerList getHandlerList()
{
return handlers;
}
2020-11-05 21:17:14 +00:00
}