Class BedwarsGameEndingEvent

java.lang.Object
org.bukkit.event.Event
org.screamingsandals.bedwars.api.events.BedwarsGameEndingEvent

public class BedwarsGameEndingEvent extends org.bukkit.event.Event
  • Constructor Details

    • BedwarsGameEndingEvent

      public BedwarsGameEndingEvent(Game game, @Nullable @Nullable RunningTeam winningTeam)
      Parameters:
      game -
  • Method Details

    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • getGame

      public Game getGame()
      Returns:
      game
    • getWinningTeam

      @Nullable public @Nullable RunningTeam getWinningTeam()
      Returns:
      team that won bedwars match
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event