1
0
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:
Luke aka SwissalpS 2024-11-28 01:04:03 +01:00
parent c8a480135e
commit 9c688d416b

View File

@ -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