From 1216ebd1f63e524bfe03541555dcd618f6f9708c Mon Sep 17 00:00:00 2001 From: silvery0113 Date: Fri, 5 Apr 2024 12:33:04 +0800 Subject: [PATCH] fix next steps --- patches/server/0136-Fix-next-steps.patch | 58 ++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 patches/server/0136-Fix-next-steps.patch diff --git a/patches/server/0136-Fix-next-steps.patch b/patches/server/0136-Fix-next-steps.patch new file mode 100644 index 00000000..45604733 --- /dev/null +++ b/patches/server/0136-Fix-next-steps.patch @@ -0,0 +1,58 @@ +Subject: [PATCH] fix next steps +--- +Index: src/main/java/net/minecraft/server/MinecraftServer.java +IDEA additional info: +Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP +<+>UTF-8 +=================================================================== +diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java +--- a/src/main/java/net/minecraft/server/MinecraftServer.java (revision 6488c8038d4ae7dfbab02f8e963fc22148314e64) ++++ b/src/main/java/net/minecraft/server/MinecraftServer.java (revision 9af8bd1bca85f336d1769ff13ffe48c61a34e727) +@@ -1155,15 +1155,15 @@ + long tickSection = Util.getNanos(); + long currentTime; + // Paper end - further improve server tick loop +- // Paper start - Add onboarding message for initial server start ++ // Leaves start - Add onboarding message for initial server start + if (io.papermc.paper.configuration.GlobalConfiguration.isFirstStart) { + LOGGER.info("*************************************************************************************"); + LOGGER.info("This is the first time you're starting this server."); + LOGGER.info("It's recommended you read our 'Getting Started' documentation for guidance."); +- LOGGER.info("View this and more helpful information here: https://docs.papermc.io/paper/next-steps"); ++ LOGGER.info("View this and more helpful information here: https://docs.leavesmc.org/leaves/guides/next-steps"); + LOGGER.info("*************************************************************************************"); + } +- // Paper end - Add onboarding message for initial server start ++ // Leaves end - Add onboarding message for initial server start + + while (this.running) { + // Paper start - rewrite chunk system +Index: src/main/java/net/minecraft/server/gui/MinecraftServerGui.java +IDEA additional info: +Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP +<+>UTF-8 +=================================================================== +diff --git a/src/main/java/net/minecraft/server/gui/MinecraftServerGui.java b/src/main/java/net/minecraft/server/gui/MinecraftServerGui.java +--- a/src/main/java/net/minecraft/server/gui/MinecraftServerGui.java (revision 6488c8038d4ae7dfbab02f8e963fc22148314e64) ++++ b/src/main/java/net/minecraft/server/gui/MinecraftServerGui.java (revision 9af8bd1bca85f336d1769ff13ffe48c61a34e727) +@@ -116,9 +116,9 @@ + return jpanel; + } + +- // Paper start - Add onboarding message for initial server start ++ // Leaves start - Add onboarding message for initial server start + private JComponent buildOnboardingPanel() { +- String onboardingLink = "https://docs.papermc.io/paper/next-steps"; ++ String onboardingLink = "https://docs.leavesmc.org/leaves/guides/next-steps"; + JPanel jPanel = new JPanel(); + + javax.swing.JLabel jLabel = new javax.swing.JLabel("If you need help setting up your server you can visit:"); +@@ -147,7 +147,7 @@ + + return jPanel; + } +- // Paper end - Add onboarding message for initial server start ++ // Leaves end - Add onboarding message for initial server start + + private JComponent buildPlayerPanel() { + JList jlist = new PlayerListComponent(this.server);