Update patches to latest 1.21.4 #1

Merged
Chaoscaot merged 242 commits from update/1.21.4 into main 2025-04-23 22:27:11 +02:00
Showing only changes of commit 1b38f2810e - Show all commits

View File

@@ -55,7 +55,7 @@
+ // Paper start - Validate ResourceLocation + // Paper start - Validate ResourceLocation
+ final ResourceLocation resourceLocation = ResourceLocation.tryParse(string); + final ResourceLocation resourceLocation = ResourceLocation.tryParse(string);
+ if (resourceLocation != null) { + if (resourceLocation != null) {
+ this.recipesUsed.put(ResourceKey.create(Registries.RECIPE, resourceLocation), tag.getInt(string)); + this.recipesUsed.put(ResourceKey.create(Registries.RECIPE, resourceLocation), compound.getInt(string));
+ } + }
+ // Paper end - Validate ResourceLocation + // Paper end - Validate ResourceLocation
+ } + }