mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-18 23:23:19 +01:00
Fix reading recipes used on furnace (#11947)
This commit is contained in:
parent
400717174e
commit
1b38f2810e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
+ }
|
||||
|
|
Loading…
Reference in a new issue