aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0247-Load-version-history-at-server-start.patch
blob: b8c436d876605da437cce3a04d83d1a3c0d0000f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From 93b5a6f9f10f7e599af102f0c960f6d63d347ea3 Mon Sep 17 00:00:00 2001
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
index 0d2c7a6dc4..437ac386ac 100644
--- a/src/main/java/net/minecraft/server/DedicatedServer.java
+++ b/src/main/java/net/minecraft/server/DedicatedServer.java
@@ -212,6 +212,7 @@ public class DedicatedServer extends MinecraftServer implements IMinecraftServer
                 return false;
             }
             com.destroystokyo.paper.PaperConfig.registerCommands();
+            com.destroystokyo.paper.VersionHistoryManager.INSTANCE.getClass(); // load version history now
             // Paper end
 
             DedicatedServer.LOGGER.info("Generating keypair");
-- 
2.21.0