Rename to AsyncPlayerSendSuggestionsEvent to be consistent in naming
It was still technically read correctly in what it was doing, but all our Player events begin with Player. Nothing uses this event yet so safe to rename. If you are some rapid adopter of this event, sorry :P
This commit is contained in:
parent
0dd1907568
commit
932e97f345
2 changed files with 6 additions and 6 deletions
|
@ -13,7 +13,7 @@ import org.jetbrains.annotations.NotNull;
|
|||
* Called when sending Suggestions to the client. Will be called asynchronously if a plugin
|
||||
* marks the AsyncTabComplete event handled asynchronously, otherwise called synchronously.
|
||||
*/
|
||||
public class AsyncSendPlayerSuggestionsEvent extends PlayerEvent implements Cancellable {
|
||||
public class AsyncPlayerSendSuggestionsEvent extends PlayerEvent implements Cancellable {
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private boolean cancelled = false;
|
||||
|
@ -21,7 +21,7 @@ public class AsyncSendPlayerSuggestionsEvent extends PlayerEvent implements Canc
|
|||
private Suggestions suggestions;
|
||||
private final String buffer;
|
||||
|
||||
public AsyncSendPlayerSuggestionsEvent(Player player, Suggestions suggestions, String buffer) {
|
||||
public AsyncPlayerSendSuggestionsEvent(Player player, Suggestions suggestions, String buffer) {
|
||||
super(player, !Bukkit.isPrimaryThread());
|
||||
this.suggestions = suggestions;
|
||||
this.buffer = buffer;
|
Loading…
Add table
Add a link
Reference in a new issue