mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Add strict module
Also fix leaking globals found by it.
This commit is contained in:
parent
6afdb22ba7
commit
a6ba042cf7
4 changed files with 51 additions and 3 deletions
|
@ -56,7 +56,7 @@ core.register_entity(":__builtin:item", {
|
|||
item_texture = core.registered_items[itemname].inventory_image
|
||||
item_type = core.registered_items[itemname].type
|
||||
end
|
||||
prop = {
|
||||
local prop = {
|
||||
is_visible = true,
|
||||
visual = "wielditem",
|
||||
textures = {itemname},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue