update shulkerbox dependency
This commit is contained in:
parent
6abe437c70
commit
a3e0bd95bc
|
@ -33,7 +33,7 @@ mlua = { version = "0.9.7", features = ["lua54", "vendored"], optional = true }
|
||||||
path-absolutize = "3.1.1"
|
path-absolutize = "3.1.1"
|
||||||
pathdiff = "0.2.1"
|
pathdiff = "0.2.1"
|
||||||
serde = { version = "1.0.197", features = ["derive", "rc"], optional = true }
|
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"
|
strsim = "0.11.1"
|
||||||
strum = { version = "0.26.2", features = ["derive"] }
|
strum = { version = "0.26.2", features = ["derive"] }
|
||||||
strum_macros = "0.26.2"
|
strum_macros = "0.26.2"
|
||||||
|
|
|
@ -278,15 +278,15 @@ impl Tag {
|
||||||
|
|
||||||
self.of_type
|
self.of_type
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.map_or(TagType::Functions, |(_, tag_type)| {
|
.map_or(TagType::Function, |(_, tag_type)| {
|
||||||
match tag_type.str_content().as_ref() {
|
match tag_type.str_content().as_ref() {
|
||||||
"function" => TagType::Functions,
|
"function" => TagType::Function,
|
||||||
"block" => TagType::Blocks,
|
"block" => TagType::Block,
|
||||||
"entity_type" => TagType::Entities,
|
"entity_type" => TagType::Entity,
|
||||||
"fluid" => TagType::Fluids,
|
"fluid" => TagType::Fluid,
|
||||||
"game_event" => TagType::GameEvents,
|
"game_event" => TagType::GameEvent,
|
||||||
"item" => TagType::Items,
|
"item" => TagType::Item,
|
||||||
other => TagType::Others(other.to_string()),
|
other => TagType::Other(other.to_string()),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue