update shulkerbox dependency

This commit is contained in:
Moritz Hölting 2024-09-22 13:33:00 +02:00
parent 6abe437c70
commit a3e0bd95bc
2 changed files with 9 additions and 9 deletions

View File

@ -33,7 +33,7 @@ mlua = { version = "0.9.7", features = ["lua54", "vendored"], optional = true }
path-absolutize = "3.1.1"
pathdiff = "0.2.1"
serde = { version = "1.0.197", features = ["derive", "rc"], optional = true }
shulkerbox = { git = "https://github.com/moritz-hoelting/shulkerbox", default-features = false, optional = true, rev = "aff342a64a94981af942223345b5a5f105212957" }
shulkerbox = { git = "https://github.com/moritz-hoelting/shulkerbox", default-features = false, optional = true, rev = "4ca0505e357aa7427657d6286f8a1b77eb7e63c6" }
strsim = "0.11.1"
strum = { version = "0.26.2", features = ["derive"] }
strum_macros = "0.26.2"

View File

@ -278,15 +278,15 @@ impl Tag {
self.of_type
.as_ref()
.map_or(TagType::Functions, |(_, tag_type)| {
.map_or(TagType::Function, |(_, tag_type)| {
match tag_type.str_content().as_ref() {
"function" => TagType::Functions,
"block" => TagType::Blocks,
"entity_type" => TagType::Entities,
"fluid" => TagType::Fluids,
"game_event" => TagType::GameEvents,
"item" => TagType::Items,
other => TagType::Others(other.to_string()),
"function" => TagType::Function,
"block" => TagType::Block,
"entity_type" => TagType::Entity,
"fluid" => TagType::Fluid,
"game_event" => TagType::GameEvent,
"item" => TagType::Item,
other => TagType::Other(other.to_string()),
}
})
}