mirror of
https://github.com/pandorabox-io/banners.git
synced 2025-01-08 17:10:32 +01:00
refactor weird declaration
This commit is contained in:
parent
c8a480135e
commit
9c688d416b
3
init.lua
3
init.lua
@ -201,8 +201,7 @@ banners.banner_after_place = function(pos, _, itemstack, pointed_thing)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- banner entity
|
-- banner entity
|
||||||
local set_banner_texture
|
local set_banner_texture = function(obj, texture)
|
||||||
set_banner_texture = function(obj, texture)
|
|
||||||
obj:set_properties({ textures = { "banner_uv_text.png^" .. texture } })
|
obj:set_properties({ textures = { "banner_uv_text.png^" .. texture } })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user