2018-07-19 01:16:19 +02:00
|
|
|
From c087731552e99e275dd9e77406c2047402cc000e Mon Sep 17 00:00:00 2001
|
2018-03-02 02:57:22 +01:00
|
|
|
From: Kyle Wood <demonwav@gmail.com>
|
|
|
|
Date: Thu, 1 Mar 2018 19:38:14 -0600
|
|
|
|
Subject: [PATCH] Load version history at server start
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/DedicatedServer.java b/src/main/java/net/minecraft/server/DedicatedServer.java
|
2018-07-18 20:55:52 +02:00
|
|
|
index 7ff2fa535..a329887ce 100644
|
2018-03-02 02:57:22 +01:00
|
|
|
--- a/src/main/java/net/minecraft/server/DedicatedServer.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/DedicatedServer.java
|
2018-07-18 20:55:52 +02:00
|
|
|
@@ -211,6 +211,7 @@ public class DedicatedServer extends MinecraftServer implements IMinecraftServer
|
2018-03-02 02:57:22 +01:00
|
|
|
// Paper start
|
|
|
|
com.destroystokyo.paper.PaperConfig.init((File) options.valueOf("paper-settings"));
|
|
|
|
com.destroystokyo.paper.PaperConfig.registerCommands();
|
|
|
|
+ com.destroystokyo.paper.VersionHistoryManager.INSTANCE.getClass(); // load version history now
|
|
|
|
// Paper end
|
|
|
|
|
|
|
|
DedicatedServer.LOGGER.info("Generating keypair");
|
|
|
|
--
|
2018-06-30 07:40:52 +02:00
|
|
|
2.18.0
|
2018-03-02 02:57:22 +01:00
|
|
|
|