Package org.bukkit.conversations
Class NullConversationPrefix
- java.lang.Object
-
- org.bukkit.conversations.NullConversationPrefix
-
- All Implemented Interfaces:
ConversationPrefix
public class NullConversationPrefix extends Object implements ConversationPrefix
NullConversationPrefix is aConversationPrefix
implementation that displays nothing in front of conversation output.
-
-
Constructor Summary
Constructors Constructor Description NullConversationPrefix()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPrefix(ConversationContext context)
Prepends each conversation message with an empty string.
-
-
-
Method Detail
-
getPrefix
@NotNull public String getPrefix(@NotNull ConversationContext context)
Prepends each conversation message with an empty string.- Specified by:
getPrefix
in interfaceConversationPrefix
- Parameters:
context
- Context information about the conversation.- Returns:
- An empty string.
-
-