mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 02:22:12 +01:00
11 lines
960 B
Diff
11 lines
960 B
Diff
--- a/net/minecraft/server/WorldLoader.java
|
|
+++ b/net/minecraft/server/WorldLoader.java
|
|
@@ -37,7 +_,7 @@
|
|
CloseableResourceManager closeableResourceManager = pair.getSecond();
|
|
LayeredRegistryAccess<RegistryLayer> layeredRegistryAccess = RegistryLayer.createRegistryAccess();
|
|
List<Registry.PendingTags<?>> list = TagLoader.loadTagsForExistingRegistries(
|
|
- closeableResourceManager, layeredRegistryAccess.getLayer(RegistryLayer.STATIC)
|
|
+ closeableResourceManager, layeredRegistryAccess.getLayer(RegistryLayer.STATIC), io.papermc.paper.plugin.lifecycle.event.registrar.ReloadableRegistrarEvent.Cause.INITIAL // Paper - tag lifecycle - add cause
|
|
);
|
|
RegistryAccess.Frozen accessForLoading = layeredRegistryAccess.getAccessForLoading(RegistryLayer.WORLDGEN);
|
|
List<HolderLookup.RegistryLookup<?>> list1 = TagLoader.buildUpdatedLookups(accessForLoading, list);
|