Files
DeltaZern/paper-api/src/main/java/org/bukkit/conversations/NullConversationPrefix.java
T
Bukkit/Spigot bb50f1a774 Pulling all pending Bukkit-JavaDoc changes
A special thanks goes to @aerouk for almost all of the changes found here.

By: Wesley Wolfe <weswolf@aol.com>
2013-12-15 01:07:43 -05:00

21 lines
555 B
Java

package org.bukkit.conversations;
import org.bukkit.command.CommandSender;
/**
* NullConversationPrefix is a {@link ConversationPrefix} implementation that
* displays nothing in front of conversation output.
*/
public class NullConversationPrefix implements ConversationPrefix{
/**
* Prepends each conversation message with an empty string.
*
* @param context Context information about the conversation.
* @return An empty string.
*/
public String getPrefix(ConversationContext context) {
return "";
}
}