Fix super-small size of regular item entities
authorPerttu Ahola <celeron55@gmail.com>
Wed, 4 Apr 2012 19:57:29 +0000 (22:57 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Wed, 4 Apr 2012 19:57:29 +0000 (22:57 +0300)
builtin/item_entity.lua

index ad0060b48e5f16afef20901eee7e00ee5f166d96..a06afc5eab52f229835b24fe53cc3721b01e58bc 100644 (file)
@@ -46,6 +46,7 @@ minetest.register_entity("__builtin:item", {
                if item_texture and item_texture ~= "" then
                        prop.visual = "sprite"
                        prop.textures = {item_texture}
+                       prop.visual_size = {x=0.50, y=0.50}
                else
                        prop.visual = "wielditem"
                        prop.textures = {itemname}