InvRef
From Old MT Dev
(Redirected from InvRef:remove item)
Jump to navigationJump to search
This page contains unofficial, low-quality Lua API documentation and is likely to be outdated or wrong. Do not rely on it! For the official and up-to-date documentation, see Lua API Documentation. |
This page has been proposed for deletion for the following reason: "Contains unofficial and potentially outdated, redundant and inconsistent Lua API information" If you don't think that this page should be deleted, please explain why on the talk page. |
Reference to an inventory. See the Lua API documentation for more info.
Caveats
- A common mistake is to get an ItemStack from an inventory, change it, and expect the changes to carry through to the inventory. See Set ItemStacks after changing them in the modding book.