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