Class BanUpdateEvent
java.lang.Object
me.remigio07.chatplugin.api.common.event.punishment.ban.BanEvent
me.remigio07.chatplugin.api.common.event.punishment.ban.BanUpdateEvent
- All Implemented Interfaces:
ChatPluginEvent
Represents the event called after a ban gets updated.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class me.remigio07.chatplugin.api.common.event.punishment.ban.BanEvent
getBan
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.remigio07.chatplugin.api.common.event.ChatPluginEvent
call
-
Constructor Details
-
BanUpdateEvent
Constructs a new ban update event.- Parameters:
oldBan
- Old ban's copyban
- Ban involved
-
-
Method Details
-
getOldBan
Gets a copy ofBanEvent.getBan()
with its old values.- Returns:
- Old ban's copy
-