From 9c688d416bf8f793fb484a367d60dc6f1f567639 Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS Date: Thu, 28 Nov 2024 01:04:03 +0100 Subject: [PATCH] refactor weird declaration --- init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 8ddd288..cf29948 100644 --- a/init.lua +++ b/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