9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-23 00:49:31 +00:00
Files
Leaf/leaf-api/paper-patches/features/0003-Gale-configuration.patch
Dreeam 3b162fb788 Move Purpur patches to first
To reduce the difficulty on maintenance and reduce chances to fix conflicts on updating
2025-10-01 18:27:42 -04:00

41 lines
1.6 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Martijn Muijsers <martijnmuijsers@live.nl>
Date: Wed, 23 Nov 2022 21:03:04 +0100
Subject: [PATCH] Gale configuration
License: MIT (https://opensource.org/licenses/MIT)
Gale - https://galemc.org
This patch is based on the following patch:
"Timings v2"
By: Aikar <aikar@aikar.co>
As part of: Paper (https://github.com/PaperMC/Paper)
Licensed under: MIT (https://opensource.org/licenses/MIT)
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
index 69c0ca1b0c0cdbc911ba3f053fafc5624539917d..26b2555d9fa69f10178c6ed4e2989aaa7c8ab910 100644
--- a/src/main/java/org/bukkit/Server.java
+++ b/src/main/java/org/bukkit/Server.java
@@ -2385,6 +2385,21 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
{
throw new UnsupportedOperationException("Not supported yet.");
}
+
+ // Gale start - Gale configuration - API
+ /**
+ * @deprecated Server config options may be renamed or removed without notice. Another API will be provided
+ * once the APIs of other configurations change.
+ *
+ * @return The server's gale config.
+ */
+ @Deprecated(since = "1.21.4", forRemoval = true)
+ @NotNull
+ public org.bukkit.configuration.file.YamlConfiguration getGaleConfig() {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
+ // Gale end - Gale configuration - API
+
// Paper end
// Purpur start