aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0247-Load-version-history-at-server-start.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Spigot-Server-Patches/0247-Load-version-history-at-server-start.patch')
-rw-r--r--Spigot-Server-Patches/0247-Load-version-history-at-server-start.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/Spigot-Server-Patches/0247-Load-version-history-at-server-start.patch b/Spigot-Server-Patches/0247-Load-version-history-at-server-start.patch
new file mode 100644
index 0000000000..b8c436d876
--- /dev/null
+++ b/Spigot-Server-Patches/0247-Load-version-history-at-server-start.patch
@@ -0,0 +1,21 @@
+From 93b5a6f9f10f7e599af102f0c960f6d63d347ea3 Mon Sep 17 00:00:00 2001
+From: Kyle Wood <[email protected]>
+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
+