Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup: Skip unnecessary NBT copying when checking for Item class (R…
…S485#46) We can take the underlying `Item` from an `ItemIdentifierStack` directly without converting to an `ItemStack` first. The temporary `ItemStack` is heavy-weight for fluids since the fluid/amount is stored in an NBT that has to be copied. (cherry picked from commit 4960669)
- Loading branch information