aboutsummaryrefslogtreecommitdiffhomepage
path: root/paper-server/patches/sources/net/minecraft/server/MinecraftServer.java.patch
diff options
context:
space:
mode:
Diffstat (limited to 'paper-server/patches/sources/net/minecraft/server/MinecraftServer.java.patch')
-rw-r--r--paper-server/patches/sources/net/minecraft/server/MinecraftServer.java.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/paper-server/patches/sources/net/minecraft/server/MinecraftServer.java.patch b/paper-server/patches/sources/net/minecraft/server/MinecraftServer.java.patch
index d8518cce12..019f5d45a1 100644
--- a/paper-server/patches/sources/net/minecraft/server/MinecraftServer.java.patch
+++ b/paper-server/patches/sources/net/minecraft/server/MinecraftServer.java.patch
@@ -1232,6 +1232,15 @@
},
this
);
+@@ -1550,7 +_,7 @@
+ DataPackConfig dataPackConfig = initialDataConfig.dataPacks();
+ FeatureFlagSet featureFlagSet = initMode ? FeatureFlagSet.of() : initialDataConfig.enabledFeatures();
+ FeatureFlagSet featureFlagSet1 = initMode ? FeatureFlags.REGISTRY.allFlags() : initialDataConfig.enabledFeatures();
+- packRepository.reload();
++ packRepository.reload(true); // Paper - will load resource packs
+ if (safeMode) {
+ return configureRepositoryWithSelection(packRepository, List.of("vanilla"), featureFlagSet, false);
+ } else {
@@ -1652,10 +_,11 @@
if (this.isEnforceWhitelist()) {
PlayerList playerList = commandSource.getServer().getPlayerList();