forked from LeavesMC/Leaves
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Next Steps & Fix README (LeavesMC#202)
- Loading branch information
Request Timeout
authored
Apr 5, 2024
1 parent
82fc9e3
commit 73fd5b8
Showing
3 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: silvery0113 <silvery0113@foxmail.com> | ||
Date: Fri, 5 Apr 2024 12:32:17 +0800 | ||
Subject: [PATCH] fix next steps | ||
|
||
|
||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java | ||
index ce173fa55506105c6a22c0dfe278aa25fd9bfaa7..5e4d701943b00db786cfb8509121f64e2097cf88 100644 | ||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java | ||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java | ||
@@ -1155,15 +1155,15 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa | ||
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 | ||
diff --git a/src/main/java/net/minecraft/server/gui/MinecraftServerGui.java b/src/main/java/net/minecraft/server/gui/MinecraftServerGui.java | ||
index 7704a5951ac3d02020ed0f40d76500dd6ba005af..7814f5f5dccccabe0a79fa2fe94da29208905aab 100644 | ||
--- a/src/main/java/net/minecraft/server/gui/MinecraftServerGui.java | ||
+++ b/src/main/java/net/minecraft/server/gui/MinecraftServerGui.java | ||
@@ -116,9 +116,9 @@ public class MinecraftServerGui extends JComponent { | ||
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 @@ public class MinecraftServerGui extends JComponent { | ||
|
||
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); |