Paper/Spigot-Server-Patches/0218-Load-version-history-at-server-start.patch

22 lines
901 B
Diff
Raw Normal View History

2019-05-14 04:20:58 +02:00
From ddeda45f212404065b346d694bffc2f37e76a769 Mon Sep 17 00:00:00 2001
2019-04-29 05:14:31 +02: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
2019-05-14 04:20:58 +02:00
index d9f1c2205..c2c676e3b 100644
2019-04-29 05:14:31 +02:00
--- a/src/main/java/net/minecraft/server/DedicatedServer.java
+++ b/src/main/java/net/minecraft/server/DedicatedServer.java
@@ -172,6 +172,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
this.setSpawnAnimals(dedicatedserverproperties.spawnAnimals);
--
2.21.0