Class NoopPlaceholderApplier

java.lang.Object
tech.guilhermekaua.spigotboot.inventoryapi.placeholder.NoopPlaceholderApplier
All Implemented Interfaces:
PlaceholderApplier

public class NoopPlaceholderApplier extends Object implements PlaceholderApplier
Fallback PlaceholderApplier that returns the input text unchanged. Installed by the auto-configuration when PlaceholderAPI is not on the classpath.
  • Constructor Details

    • NoopPlaceholderApplier

      public NoopPlaceholderApplier()
  • Method Details

    • apply

      public String apply(@Nullable @Nullable org.bukkit.entity.Player player, @Nullable @Nullable String text)
      Description copied from interface: PlaceholderApplier
      Applies placeholders to a single text fragment.
      Specified by:
      apply in interface PlaceholderApplier
      Parameters:
      player - the viewer whose context should resolve player-scoped placeholders; may be null when no specific player is in scope
      text - the text to process; may be null
      Returns:
      the processed text, or the original input if text is null