mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-30 20:03:51 -07:00
Removes some references to deprecated methods/types (#9043)
This commit is contained in:
@@ -1362,6 +1362,18 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
register("bukkit", new TimingsCommand("timings"));
|
||||
}
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/command/defaults/PluginsCommand.java b/src/main/java/org/bukkit/command/defaults/PluginsCommand.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/command/defaults/PluginsCommand.java
|
||||
+++ b/src/main/java/org/bukkit/command/defaults/PluginsCommand.java
|
||||
@@ -0,0 +0,0 @@ import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
+@Deprecated(forRemoval = true) // Paper
|
||||
public class PluginsCommand extends BukkitCommand {
|
||||
public PluginsCommand(@NotNull String name) {
|
||||
super(name);
|
||||
diff --git a/src/main/java/org/bukkit/plugin/Plugin.java b/src/main/java/org/bukkit/plugin/Plugin.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/plugin/Plugin.java
|
||||
@@ -1908,7 +1920,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
return description;
|
||||
}
|
||||
|
||||
+ @Nullable
|
||||
+ @NotNull
|
||||
+ public final io.papermc.paper.plugin.configuration.PluginMeta getPluginMeta() {
|
||||
+ return this.pluginMeta;
|
||||
+ }
|
||||
|
Reference in New Issue
Block a user