[Bleeding] Added Conversations API. Addresses BUKKIT-864

This commit is contained in:
rmichela
2012-01-22 02:35:42 -05:00
committed by EvilSeph
parent 276c1559c8
commit 49c34510e3
26 changed files with 1446 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
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 "";
}
}