diff options
author | Noah van der Aa <[email protected]> | 2023-05-15 02:23:57 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-05-14 20:23:57 -0400 |
commit | 57fdc668fa448af98260f950dfef654710f84bff (patch) | |
tree | 5db6e845894653a2fd7c600af2b2be067c10964c /patches/api/0354-Custom-Potion-Mixes.patch | |
parent | ab7bc3fb34214ca2e950fd6d6311a87897df0ad7 (diff) | |
download | Paper-57fdc668fa448af98260f950dfef654710f84bff.tar.gz Paper-57fdc668fa448af98260f950dfef654710f84bff.zip |
Undeprecate Server#getMap (#9185)
The only way to get a map is via its id, which is not a magic value. This implementation isn't going to be changing anytime soon, so it should be undeprecated.
Diffstat (limited to 'patches/api/0354-Custom-Potion-Mixes.patch')
-rw-r--r-- | patches/api/0354-Custom-Potion-Mixes.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/api/0354-Custom-Potion-Mixes.patch b/patches/api/0354-Custom-Potion-Mixes.patch index 378c03e0e3..6b5c7b671d 100644 --- a/patches/api/0354-Custom-Potion-Mixes.patch +++ b/patches/api/0354-Custom-Potion-Mixes.patch @@ -102,10 +102,10 @@ index 0000000000000000000000000000000000000000..cb6d93526b637946aec311bef103ad30 + } +} diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java -index 6b7f6d7f5a6622b41fc4468262985fa0a1266bfc..d7d6897b1f697f48aa3890d70797dd3195de125e 100644 +index b27260b03ed1e49a1ff50db2f00133f92cad37a9..ebf3243d6c77064d9ba9c1dd0c392985988a303b 100644 --- a/src/main/java/org/bukkit/Bukkit.java +++ b/src/main/java/org/bukkit/Bukkit.java -@@ -2426,6 +2426,15 @@ public final class Bukkit { +@@ -2425,6 +2425,15 @@ public final class Bukkit { public static io.papermc.paper.datapack.DatapackManager getDatapackManager() { return server.getDatapackManager(); } @@ -122,10 +122,10 @@ index 6b7f6d7f5a6622b41fc4468262985fa0a1266bfc..d7d6897b1f697f48aa3890d70797dd31 @NotNull diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java -index 70a22d26beec7b4e82f4ab6be06875a53e622002..dcd04d2181037c91f004fee339373f0b15534e1d 100644 +index bdf247e6a8622b2e8a3d2dcdd6a2a7ebd1c01603..43bae3e3fc2f9e59ad5f5be0fc158e47af04e342 100644 --- a/src/main/java/org/bukkit/Server.java +++ b/src/main/java/org/bukkit/Server.java -@@ -2107,5 +2107,12 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi +@@ -2106,5 +2106,12 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi */ @NotNull io.papermc.paper.datapack.DatapackManager getDatapackManager(); |