Class PlayerStockHolderChangeEvent

java.lang.Object
net.okocraft.box.api.event.BoxEvent
net.okocraft.box.api.event.player.PlayerEvent
net.okocraft.box.api.event.player.PlayerStockHolderChangeEvent

public class PlayerStockHolderChangeEvent extends PlayerEvent
A PlayerEvent called when the player changed the StockHolder.
  • Constructor Details

  • Method Details

    • getPreviousStockHolder

      @NotNull public @NotNull StockHolder getPreviousStockHolder()
      Gets the previous StockHolder of the player.
      Returns:
      the previous StockHolder of the player
    • toDebugLog

      @NotNull public @NotNull String toDebugLog()
      Description copied from class: BoxEvent
      Creates the debug log from this event.
      Overrides:
      toDebugLog in class PlayerEvent
      Returns:
      the debug log
    • toString

      public String toString()
      Overrides:
      toString in class PlayerEvent