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

public class ProfessionLeaveEvent extends FusionEvent
  • Constructor Details

    • ProfessionLeaveEvent

      public ProfessionLeaveEvent(String professionName, org.bukkit.entity.Player player)
      Constructor for the ProfessionLeaveEvent
      Parameters:
      professionName - The name of the profession
      player - The player that left the profession
  • Method Details

    • getLeftProfession

      public CraftingTable getLeftProfession()
      Get the left profession
      Returns:
      The left profession