mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 18:45:54 +01:00
[Auto] Updated Upstream (Bukkit)
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: 6875ad8b Update documentation and status of command completion related events
This commit is contained in:
parent
3ac743124e
commit
c86adf99ca
@ -1,4 +1,4 @@
|
||||
From edc4698e52433d90bcaaf7007245e7acad4d52f1 Mon Sep 17 00:00:00 2001
|
||||
From 8bffb1aba48a936533d74a68f400ae6303304909 Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Sun, 26 Nov 2017 13:17:09 -0500
|
||||
Subject: [PATCH] AsyncTabCompleteEvent
|
||||
@ -186,7 +186,7 @@ index 00000000..3071320e
|
||||
+ }
|
||||
+}
|
||||
diff --git a/src/main/java/org/bukkit/event/server/TabCompleteEvent.java b/src/main/java/org/bukkit/event/server/TabCompleteEvent.java
|
||||
index 6ac437d5..df6eb53d 100644
|
||||
index a6229839..f0bc3563 100644
|
||||
--- a/src/main/java/org/bukkit/event/server/TabCompleteEvent.java
|
||||
+++ b/src/main/java/org/bukkit/event/server/TabCompleteEvent.java
|
||||
@@ -1,5 +1,6 @@
|
||||
@ -196,7 +196,7 @@ index 6ac437d5..df6eb53d 100644
|
||||
import java.util.List;
|
||||
import org.apache.commons.lang.Validate;
|
||||
import org.bukkit.command.CommandSender;
|
||||
@@ -21,6 +22,13 @@ public class TabCompleteEvent extends Event implements Cancellable {
|
||||
@@ -28,6 +29,13 @@ public class TabCompleteEvent extends Event implements Cancellable {
|
||||
private boolean cancelled;
|
||||
|
||||
public TabCompleteEvent(CommandSender sender, String buffer, List<String> completions) {
|
||||
@ -210,7 +210,7 @@ index 6ac437d5..df6eb53d 100644
|
||||
Validate.notNull(sender, "sender");
|
||||
Validate.notNull(buffer, "buffer");
|
||||
Validate.notNull(completions, "completions");
|
||||
@@ -58,14 +66,34 @@ public class TabCompleteEvent extends Event implements Cancellable {
|
||||
@@ -65,14 +73,34 @@ public class TabCompleteEvent extends Event implements Cancellable {
|
||||
return completions;
|
||||
}
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 497877c30c12d5f06e5b676e8b45f33776ab0c7c
|
||||
Subproject commit 6875ad8bb890376913d9141b955c996444fbe94c
|
Loading…
Reference in New Issue
Block a user