0
0
Fork 0

Change glowing item frame inventory image to "mcl_itemframes_glow_item_frame.png"

"mcl_itemframes_glow_item_frame_border.png" "mcl_itemframes_glow_item_frame_item.png" and "mcl_itemframes_glow_item_frame" are all the same image, can save a few kilobytes by editing the glowing item frame code to just use one and removing the other two of them.
This commit is contained in:
SmokeyDope 2023-02-26 01:07:55 +00:00 committed by Gitea
parent 4939ce3e75
commit 551b0c31bb
1 changed files with 1 additions and 1 deletions

View File

@ -840,7 +840,7 @@ function mcl_itemframes.create_base_definitions()
mcl_itemframes.glow_frame_base._tt_help = S("Can hold an item and glows.")
mcl_itemframes.glow_frame_base.longdesc = S("Glowing item frames are decorative blocks in which items can be placed and made to glow.")
mcl_itemframes.glow_frame_base.tiles = { "mcl_itemframes_glow_item_frame.png" }
mcl_itemframes.glow_frame_base.inventory_image = "mcl_itemframes_glow_item_frame_item.png"
mcl_itemframes.glow_frame_base.inventory_image = "mcl_itemframes_glow_item_frame.png"
mcl_itemframes.glow_frame_base.wield_image = "mcl_itemframes_glow_item_frame.png"
mcl_itemframes.glow_frame_base.mesh = "mcl_itemframes_glow_item_frame.obj"
mcl_itemframes.glow_frame_base.glow = 1 --make the glow frames have some glow at night, but not enough to be a light source.