9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-27 19:09:23 +00:00
Files
LeavesMC/patches/api/0001-Leaves-Server-Config.patch
violetc 5c776b8a25 Update 1.19.2
fixed some bake bug left by 1.18.1
2022-09-13 17:26:43 +08:00

26 lines
1005 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: violetc <admin@s-yh-china.com>
Date: Fri, 29 Oct 2021 16:59:07 +0800
Subject: [PATCH] Leaves Server Config
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
index da5cab4246bd253fcc4e4d9574bdae1867ebb5ab..866d0825a955e61fdcce488aa9e526c4a32ca37e 100644
--- a/src/main/java/org/bukkit/Server.java
+++ b/src/main/java/org/bukkit/Server.java
@@ -1947,6 +1947,14 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
throw new UnsupportedOperationException("Not supported yet.");
}
// Paper end
+
+ // Leaves start - Not supported yet too
+ @NotNull
+ public org.bukkit.configuration.file.YamlConfiguration getLeavesConfig()
+ {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
+ // Leaves end - Not supported yet too
/**
* Sends the component to the player