mirror of
https://github.com/pandorabox-io/banners.git
synced 2025-01-06 16: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
|
||||
|
||||
-- banner entity
|
||||
local set_banner_texture
|
||||
set_banner_texture = function(obj, texture)
|
||||
local set_banner_texture = function(obj, texture)
|
||||
obj:set_properties({ textures = { "banner_uv_text.png^" .. texture } })
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user