Mineplex/GOD DAMN COSMETICS/treasure/animation/event/TreasureAnimationFinishEvent.java
Daniel Waggner 38a20f98c2 Removed Files
These two directories contain code that was removed from the src and dependencies of the compiled files. They were removed due to being either a. unnecessary or b. a royal pain in my booty.
2021-05-23 18:13:37 -07:00

43 lines
898 B
Java

package mineplex.core.treasure.animation.event;
import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList;
import mineplex.core.treasure.TreasureSession;
import mineplex.core.treasure.animation.TreasureAnimation;
import mineplex.core.treasure.event.TreasureEvent;
/**
* Called when a player is able to begin opening chests.
*/
public class TreasureAnimationFinishEvent extends TreasureEvent
{
private static final HandlerList handlers = new HandlerList();
private final TreasureAnimation _animation;
public TreasureAnimationFinishEvent(Player player, TreasureSession session, TreasureAnimation animation)
{
super(player, session);
_animation = animation;
}
public TreasureAnimation getAnimation()
{
return _animation;
}
@Override
public HandlerList getHandlers()
{
return handlers;
}
public static HandlerList getHandlerList()
{
return handlers;
}
}