1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-20 22:05:19 +01:00
Files
luanti/builtin/game/item.lua
tenplus1 d785456b3f Optimize item.lua
Replace slow ItemStack get_definitions with registered_nodes one's and cached playername as it's used multiple times.  Also removed local item = itemstack:peek_item() as it is never used.
2017-03-10 11:24:10 -08:00

18 KiB