projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some undeclared global variables
[oweals/minetest.git]
/
builtin
/
game
/
item_entity.lua
diff --git
a/builtin/game/item_entity.lua
b/builtin/game/item_entity.lua
index afbade98e355c299e988d98205821cb2d01c05b9..c0b9ae46f0fc7c288229a0dadc5ad3d96c73449a 100644
(file)
--- a/
builtin/game/item_entity.lua
+++ b/
builtin/game/item_entity.lua
@@
-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},