fork update #10

Merged
chmodsayshello merged 220 commits from VoxeLibre/VoxeLibre:master into master 2023-06-04 12:44:03 +02:00
2 changed files with 7 additions and 3 deletions
Showing only changes of commit 08cbd95a5e - Show all commits

View File

@ -1,4 +1,4 @@
name = mcl_signs
description = New and Improved signs - can be colored and made to glow.
depends = mcl_core, mcl_sounds, mcl_dye, mcl_colors
depends = mcl_core, mcl_sounds, mcl_dye, mcl_colors, mcl_util
optional_depends = doc

View File

@ -307,7 +307,9 @@ mcl_signs.wall_standard = {
local item = clicker:get_wielded_item()
local iname = item:get_name()
if node then
local protected = mcl_util.check_position_protection(pos, clicker)
if node and not protected then
if DEBUG then
minetest.log("verbose", "[mcl_signs] Wall_Sign Right Click event on valid node.")
end
@ -414,7 +416,9 @@ mcl_signs.standing_standard = {
local item = clicker:get_wielded_item()
local iname = item:get_name()
if node then
local protected = mcl_util.check_position_protection(pos, clicker)
if node and not protected then
-- handle glow from glow_ink_sac *first*
if DEBUG then
minetest.log("verbose", "[mcl_signs] Standing_Sign Right Click event on valid node.")