Class ProfessionLeaveEvent
java.lang.Object
org.bukkit.event.Event
studio.magemonkey.fusion.api.events.FusionEvent
studio.magemonkey.fusion.api.events.ProfessionLeaveEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionProfessionLeaveEvent(String professionName, org.bukkit.entity.Player player) Constructor for the ProfessionLeaveEvent -
Method Summary
Methods inherited from class studio.magemonkey.fusion.api.events.FusionEvent
getHandlers, isCancelled, setCancelledMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
ProfessionLeaveEvent
Constructor for the ProfessionLeaveEvent- Parameters:
professionName- The name of the professionplayer- The player that left the profession
-
-
Method Details
-
getLeftProfession
Get the left profession- Returns:
- The left profession
-