aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0053-Fix-upstream-javadocs.patch
diff options
context:
space:
mode:
authorpowercas_gamer <[email protected]>2024-07-15 14:07:17 +0200
committerGitHub <[email protected]>2024-07-15 14:07:17 +0200
commitb4f04ff4b31bc46d47c1d050686a2582c222073c (patch)
tree1d27d694eeda6546fb813dec8454f4751188e32f /patches/api/0053-Fix-upstream-javadocs.patch
parent8b35adca881414c92efeac9aba91a25ace9ea648 (diff)
downloadPaper-b4f04ff4b31bc46d47c1d050686a2582c222073c.tar.gz
Paper-b4f04ff4b31bc46d47c1d050686a2582c222073c.zip
Add Plugin#getDataPath (#11080)
Diffstat (limited to 'patches/api/0053-Fix-upstream-javadocs.patch')
-rw-r--r--patches/api/0053-Fix-upstream-javadocs.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/patches/api/0053-Fix-upstream-javadocs.patch b/patches/api/0053-Fix-upstream-javadocs.patch
index 92c0a51384..97336e4d94 100644
--- a/patches/api/0053-Fix-upstream-javadocs.patch
+++ b/patches/api/0053-Fix-upstream-javadocs.patch
@@ -1651,6 +1651,56 @@ index 43f0df04f3cdff7d7db73321a2886f3a737e3c9f..5c741228b2338a7c4de2fe736eb78951
*/
public interface OminousBottleMeta extends ItemMeta {
+diff --git a/src/main/java/org/bukkit/plugin/Plugin.java b/src/main/java/org/bukkit/plugin/Plugin.java
+index 8c76716249e44ed8bf6be94c1f5c7b6d9bb35be2..68a0ed5f0ed25e98f4ab4d1e482ec2ccfda9cd3a 100644
+--- a/src/main/java/org/bukkit/plugin/Plugin.java
++++ b/src/main/java/org/bukkit/plugin/Plugin.java
+@@ -18,7 +18,7 @@ import org.jetbrains.annotations.Nullable;
+ */
+ public interface Plugin extends TabExecutor {
+ /**
+- * Returns the folder that the plugin data's files are located in. The
++ * Returns the folder that the plugin data files are located in. The
+ * folder may not yet exist.
+ *
+ * @return The folder
+@@ -27,9 +27,9 @@ public interface Plugin extends TabExecutor {
+ public File getDataFolder();
+
+ /**
+- * Returns the plugin.yaml file containing the details for this plugin
++ * Returns the plugin.yml file containing the details for this plugin
+ *
+- * @return Contents of the plugin.yaml file
++ * @return Contents of the plugin.yml file
+ * @deprecated May be inaccurate due to different plugin implementations.
+ * @see Plugin#getPluginMeta()
+ */
+diff --git a/src/main/java/org/bukkit/plugin/java/JavaPlugin.java b/src/main/java/org/bukkit/plugin/java/JavaPlugin.java
+index 2a14522c484febcd880d00197df4359a0020dddd..7f17337b9f0fb60fa1c91c47af496c03290d1b1c 100644
+--- a/src/main/java/org/bukkit/plugin/java/JavaPlugin.java
++++ b/src/main/java/org/bukkit/plugin/java/JavaPlugin.java
+@@ -69,7 +69,7 @@ public abstract class JavaPlugin extends PluginBase {
+ }
+
+ /**
+- * Returns the folder that the plugin data's files are located in. The
++ * Returns the folder that the plugin data files are located in. The
+ * folder may not yet exist.
+ *
+ * @return The folder.
+@@ -127,9 +127,9 @@ public abstract class JavaPlugin extends PluginBase {
+ }
+
+ /**
+- * Returns the plugin.yaml file containing the details for this plugin
++ * Returns the plugin.yml file containing the details for this plugin
+ *
+- * @return Contents of the plugin.yaml file
++ * @return Contents of the plugin.yml file
+ * @deprecated No longer applicable to all types of plugins
+ */
+ @NotNull
diff --git a/src/main/java/org/bukkit/plugin/messaging/PluginMessageRecipient.java b/src/main/java/org/bukkit/plugin/messaging/PluginMessageRecipient.java
index b84b37fe27d84574dc5897285f1d9a1437bd322c..281ae60a6be7e39aab4f27b4c7de3d49ada9a557 100644
--- a/src/main/java/org/bukkit/plugin/messaging/PluginMessageRecipient.java