From 47a7117fea1d264db420c404ffcb2a351c409875 Mon Sep 17 00:00:00 2001 From: Edvin Bryntesson Date: Tue, 20 Aug 2024 12:29:39 +0200 Subject: [PATCH] fix error message --- pumpkin-world/src/global_registry.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pumpkin-world/src/global_registry.rs b/pumpkin-world/src/global_registry.rs index 57ff7ea1a..fd88c08aa 100644 --- a/pumpkin-world/src/global_registry.rs +++ b/pumpkin-world/src/global_registry.rs @@ -15,6 +15,7 @@ pub struct RegistryElement { lazy_static! { static ref REGISTRY: HashMap = serde_json::from_str(REGISTRY_JSON).expect("Could not parse items.json registry."); + serde_json::from_str(REGISTRY_JSON).expect("Could not parse registry.json registry."); } pub fn get_protocol_id(category: &str, entry: &str) -> u32 {