mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Add strict module
Also fix leaking globals found by it.
This commit is contained in:
@@ -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},
|
||||
|
Reference in New Issue
Block a user