Files
Paper/paper-api/src/main/java/org/bukkit/conversations/StringPrompt.java
2019-04-28 11:37:52 +10:00

22 lines
537 B
Java

package org.bukkit.conversations;
import org.jetbrains.annotations.NotNull;
/**
* StringPrompt is the base class for any prompt that accepts an arbitrary
* string from the user.
*/
public abstract class StringPrompt implements Prompt {
/**
* Ensures that the prompt waits for the user to provide input.
*
* @param context Context information about the conversation.
* @return True.
*/
@Override
public boolean blocksForInput(@NotNull ConversationContext context) {
return true;
}
}