fix: ci
This commit is contained in:
1 parent
a2b92e6dc5
commit
0fe84c75d8
109 files changed
+84259
-1204
No files matched your search
@@ -279,6 +279,12 @@ impl NbtCompound {
|
||||
self.get(name).and_then(|tag| tag.extract_compound())
|
||||
}
|
||||
|
||||
/// Returns the named byte array, or `None` if the tag is absent or has another type.
|
||||
#[must_use]
|
||||
pub fn get_byte_array(&self, name: &str) -> Option<&[i8]> {
|
||||
self.get(name).and_then(|tag| tag.extract_byte_array())
|
||||
}
|
||||
|
||||
/// Returns the named integer array, or `None` if the tag is absent or has another type.
|
||||
#[must_use]
|
||||
pub fn get_int_array(&self, name: &str) -> Option<&[i32]> {
|
||||
|
||||
Reference in new issue
Block a user