Description
The method:
impl Item {
pub fn durability(&self) -> Option<u32> {
...
}
}
Always returns None. This file is generated using 'items.py' using the data from Prismarinejs/minecraft-data. However
the items.json only contains damage values for minecraft 1.14 making our function return None in every case. So currently it does the same as this implementation.
impl Item{
pub fn durability(&self) -> Option<u32> {
None
}
}
Related Issues
If #384 ever pans out, then we would want to add some sanity checks for stuff like this.