Merge 58094c8690
into 3d5ba32fa0
This commit is contained in:
commit
6744b16c56
6
api.lua
6
api.lua
|
@ -943,7 +943,13 @@ function signs_lib.after_place_node(pos, placer, itemstack, pointed_thing, locke
|
|||
local controls = placer:get_player_control()
|
||||
|
||||
local signname = itemstack:get_name()
|
||||
|
||||
-- in case player has sign nodes they shouldn't, remove extensions for normal sign
|
||||
local no_wall_name = string.gsub(signname, "_wall", "")
|
||||
no_wall_name = string.gsub(no_wall_name, "_yard", "")
|
||||
no_wall_name = string.gsub(no_wall_name, "_hanging", "")
|
||||
no_wall_name = string.gsub(no_wall_name, "_onpole_horiz", "")
|
||||
no_wall_name = string.gsub(no_wall_name, "_onpole", "")
|
||||
|
||||
local def = minetest.registered_items[signname]
|
||||
|
||||
|
|
Loading…
Reference in New Issue