Skip to content

Commit

Permalink
Update shield_functions.lua
Browse files Browse the repository at this point in the history
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
  • Loading branch information
DragonWrangler1 and SmallJoker authored Nov 15, 2024
1 parent 87d40d6 commit c798d03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shield_functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ castle_shields.register_shield = function(name, desc, background_color, foregrou
local tile_side = "castle_shield_"..background_color..".png"
local tile_front = "castle_shield_"..background_color..".png^(castle_shield_"..foreground_color..
".png^[mask:castle_shield_mask_"..mask..".png)"
local wield_front = "castle_shield_"..background_color..".png^(castle_shield_"..foreground_color..
".png^[mask:castle_shield_mask_"..mask..".png)^[mask:castle_shield_overlay.png"
local wield_front = tile_front .. "^[mask:castle_shield_overlay.png"

minetest.register_node(minetest.get_current_modname()..":"..name, {
description = desc,
Expand Down

0 comments on commit c798d03

Please sign in to comment.