API now compiles successfully

This commit is contained in:
Jake Potrebic
2022-06-07 13:31:10 -07:00
parent a22a744368
commit da15f7cfbc
6 changed files with 9 additions and 11 deletions

View File

@@ -42,8 +42,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+package com.destroystokyo.paper.event.server;
+
+import com.google.common.collect.ImmutableList;
+import org.apache.commons.lang.Validate;
+import com.google.common.base.Preconditions;
+import org.bukkit.Location;
+import org.bukkit.command.Command;
+import org.bukkit.command.CommandSender;
@@ -117,7 +116,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ * @param completions the new completions
+ */
+ public void setCompletions(@NotNull List<String> completions) {
+ Validate.notNull(completions);
+ Preconditions.checkNotNull(completions);
+ this.completions = new ArrayList<>(completions);
+ }
+