@@ -7,7 +7,7 @@ import org.bukkit.plugin.Plugin;
|
||||
* PlayerNamePrompt is the base class for any prompt that requires the player
|
||||
* to enter another player's name.
|
||||
*/
|
||||
public abstract class PlayerNamePrompt extends ValidatingPrompt{
|
||||
public abstract class PlayerNamePrompt extends ValidatingPrompt {
|
||||
private Plugin plugin;
|
||||
|
||||
public PlayerNamePrompt(Plugin plugin) {
|
||||
@@ -18,7 +18,6 @@ public abstract class PlayerNamePrompt extends ValidatingPrompt{
|
||||
@Override
|
||||
protected boolean isInputValid(ConversationContext context, String input) {
|
||||
return plugin.getServer().getPlayer(input) != null;
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user