mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 08:32:07 -07:00
Fix reading recipes used on furnace (#11947)
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
+ // Paper start - Validate ResourceLocation
|
||||
+ final ResourceLocation resourceLocation = ResourceLocation.tryParse(string);
|
||||
+ 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
|
||||
+ }
|
||||
|
Reference in New Issue
Block a user