2018-08-27 02:11:49 +08:00
|
|
|
From 3c313649674cd46c02f52d3826dae55a8653d174 Mon Sep 17 00:00:00 2001
|
2018-03-02 09:57:22 +08: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-08-27 02:11:49 +08:00
|
|
|
index 50d7ef0b2a..c4e99ef2a9 100644
|
2018-03-02 09:57:22 +08:00
|
|
|
--- a/src/main/java/net/minecraft/server/DedicatedServer.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/DedicatedServer.java
|
2018-07-20 03:23:18 +08:00
|
|
|
@@ -207,6 +207,7 @@ public class DedicatedServer extends MinecraftServer implements IMinecraftServer
|
2018-03-02 09:57:22 +08: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 13:40:52 +08:00
|
|
|
2.18.0
|
2018-03-02 09:57:22 +08:00
|
|
|
|