fix(shared-instances): allow nbt configs (#6993)

fix: allow nbt configs
This commit is contained in:
Calum H.
2026-08-04 18:01:21 +00:00
committed by GitHub
parent 893ab49fdf
commit 6cfe999cb3
@@ -31,7 +31,7 @@ pub(crate) const CONFIG_DIRECTORY: &str = "config";
pub(crate) const MAX_CONFIG_BUNDLE_ENTRIES: usize = 4096;
pub(crate) const MAX_CONFIG_BUNDLE_FILE_SIZE: u64 = 16 * 1024 * 1024;
pub(crate) const MAX_CONFIG_BUNDLE_TOTAL_SIZE: u64 = 128 * 1024 * 1024;
pub(crate) const CONFIG_FILE_EXTENSIONS: [&str; 13] = [
pub(crate) const CONFIG_FILE_EXTENSIONS: [&str; 14] = [
"json",
"json5",
"jsonc",
@@ -45,6 +45,7 @@ pub(crate) const CONFIG_FILE_EXTENSIONS: [&str; 13] = [
"conf",
"properties",
"xml",
"nbt",
];
pub(crate) fn read_bounded_config_bundle_entry(