Class NoopPlaceholderApplier
java.lang.Object
tech.guilhermekaua.spigotboot.inventoryapi.placeholder.NoopPlaceholderApplier
- All Implemented Interfaces:
PlaceholderApplier
Fallback
PlaceholderApplier that returns the input text unchanged. Installed by
the auto-configuration when PlaceholderAPI is not on the classpath.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tech.guilhermekaua.spigotboot.inventoryapi.placeholder.PlaceholderApplier
applyAll
-
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:PlaceholderApplierApplies placeholders to a single text fragment.- Specified by:
applyin interfacePlaceholderApplier- Parameters:
player- the viewer whose context should resolve player-scoped placeholders; may benullwhen no specific player is in scopetext- the text to process; may benull- Returns:
- the processed text, or the original input if
textisnull
-