Package net.lapismc.lapisbans.api.events
Class LapisBansPunishEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- net.lapismc.lapiscore.events.LapisCoreEvent
-
- net.lapismc.lapiscore.events.LapisCoreCancellableEvent
-
- net.lapismc.lapisbans.api.events.LapisBansPunishEvent
-
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class LapisBansPunishEvent extends net.lapismc.lapiscore.events.LapisCoreCancellableEvent
-
-
Constructor Summary
Constructors Constructor Description LapisBansPunishEvent(PunishmentInterface punishment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PunishmentInterfacegetPunishment()-
Methods inherited from class net.lapismc.lapiscore.events.LapisCoreCancellableEvent
getReason, isCancelled, setCancelled, setCancelled
-
-
-
-
Constructor Detail
-
LapisBansPunishEvent
public LapisBansPunishEvent(PunishmentInterface punishment)
-
-
Method Detail
-
getPunishment
public PunishmentInterface getPunishment()
-
-