testserver/Spigot-Server-Patches/0219-Load-version-history-a...

22 lines
903 B
Diff
Raw Normal View History

2019-05-06 02:58:04 +00:00
From bd50777e0d7f271872ef38ba9257dafea208727e Mon Sep 17 00:00:00 2001
2019-04-29 03:14:31 +00: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-06 02:58:04 +00:00
index d9f1c22050..c2c676e3bb 100644
2019-04-29 03:14:31 +00: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