Class BusinessViewEvent

java.lang.Object
org.bukkit.event.Event
us.teaminceptus.novaconomy.api.events.business.BusinessEvent
us.teaminceptus.novaconomy.api.events.business.BusinessViewEvent

public class BusinessViewEvent extends BusinessEvent
Called when a Business is Viewed by a player that does not own the Business.
  • Constructor Details

    • BusinessViewEvent

      public BusinessViewEvent(Player viewer, Business business)
      Constructs a new BusinessViewEvent.
      Parameters:
      viewer - Player viewing the business
      business - Business being viewed
  • Method Details

    • getViewer

      @NotNull public @NotNull Player getViewer()
      Fetches the viewer of the business.
      Returns:
      Player viewing the business.