mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-22 08:29:28 +00:00
Upstream has released updates that appear to apply and compile correctly Paper Changes: PaperMC/Paper@a55345f9 Add support for deserializing manually deserialized items, also add caller note PaperMC/Paper@2948eb29 Mitigate an issue when loading a spigot config with null spam exclusion entries PaperMC/Paper@6c2b0378 Use correct saved data key for maps
27 lines
1.7 KiB
Diff
27 lines
1.7 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com>
|
|
Date: Wed, 7 Aug 2024 18:54:01 +0800
|
|
Subject: [PATCH] Configurable unknown command message
|
|
|
|
|
|
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
|
|
index c935d75b83338ce41507e9be11153dd1c4052cb6..ea79dc59fd1964900f193e22881dab006f90f2bf 100644
|
|
--- a/src/main/java/org/spigotmc/SpigotConfig.java
|
|
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
|
|
@@ -152,7 +152,6 @@ public class SpigotConfig {
|
|
}
|
|
|
|
public static String whitelistMessage;
|
|
- public static String unknownCommandMessage;
|
|
public static String serverFullMessage;
|
|
public static String outdatedClientMessage = "Outdated client! Please use {0}";
|
|
public static String outdatedServerMessage = "Outdated server! I'm still on {0}";
|
|
@@ -168,7 +167,6 @@ public class SpigotConfig {
|
|
}
|
|
|
|
SpigotConfig.whitelistMessage = SpigotConfig.transform(SpigotConfig.getString("messages.whitelist", "You are not whitelisted on this server!"));
|
|
- SpigotConfig.unknownCommandMessage = SpigotConfig.transform(SpigotConfig.getString("messages.unknown-command", "Unknown command. Type \"/help\" for help."));
|
|
SpigotConfig.serverFullMessage = SpigotConfig.transform(SpigotConfig.getString("messages.server-full", "The server is full!"));
|
|
SpigotConfig.outdatedClientMessage = SpigotConfig.transform(SpigotConfig.getString("messages.outdated-client", SpigotConfig.outdatedClientMessage));
|
|
SpigotConfig.outdatedServerMessage = SpigotConfig.transform(SpigotConfig.getString("messages.outdated-server", SpigotConfig.outdatedServerMessage));
|