Class BanData

java.lang.Object
fr.andross.banitem.actions.BanData

public final class BanData extends Object
The ban data used into a ban check The object will be an instance of the described BanDataType Example: if type == BanDataType.CREATIVE, the object is a boolean.
Version:
3.1
Author:
Andross
  • Constructor Details

  • Method Details

    • getType

      @NotNull public BanDataType getType()
      Returns:
      the ban data type
    • getObject

      @NotNull public Object getObject()
      Returns:
      the object, which is an instance described by the BanDataType