geforkt von Mirrors/Velocity
Fix Checkstyle
Dieser Commit ist enthalten in:
Ursprung
b4e62443c9
Commit
2d9227ccf0
@ -15,6 +15,12 @@ public class TabCompleteEvent {
|
|||||||
private final String partialMessage;
|
private final String partialMessage;
|
||||||
private final List<String> suggestions;
|
private final List<String> suggestions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new TabCompleteEvent instance.
|
||||||
|
* @param player the player
|
||||||
|
* @param partialMessage the partial message
|
||||||
|
* @param suggestions the initial list of suggestions
|
||||||
|
*/
|
||||||
public TabCompleteEvent(Player player, String partialMessage, List<String> suggestions) {
|
public TabCompleteEvent(Player player, String partialMessage, List<String> suggestions) {
|
||||||
this.player = checkNotNull(player, "player");
|
this.player = checkNotNull(player, "player");
|
||||||
this.partialMessage = checkNotNull(partialMessage, "partialMessage");
|
this.partialMessage = checkNotNull(partialMessage, "partialMessage");
|
||||||
@ -31,12 +37,16 @@ public class TabCompleteEvent {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the message being partially completed.
|
* Returns the message being partially completed.
|
||||||
* @return
|
* @return the partial message
|
||||||
*/
|
*/
|
||||||
public String getPartialMessage() {
|
public String getPartialMessage() {
|
||||||
return partialMessage;
|
return partialMessage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns all the suggestions provided to the user, as a mutable list.
|
||||||
|
* @return the suggestions
|
||||||
|
*/
|
||||||
public List<String> getSuggestions() {
|
public List<String> getSuggestions() {
|
||||||
return suggestions;
|
return suggestions;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren