mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2024-12-25 10:10:29 +01:00
remove some debug statements
This commit is contained in:
parent
fe455a7e44
commit
e3f73e07e7
5
init.lua
5
init.lua
@ -87,9 +87,6 @@ local HUES_EXTENDED = {
|
|||||||
{ "crimson", 0xff, 0x00, 0x40 }
|
{ "crimson", 0xff, 0x00, 0x40 }
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, i in ipairs(HUES_EXTENDED) do
|
|
||||||
print("[\""..i[1].."\"] =,")
|
|
||||||
end
|
|
||||||
local SATS = {
|
local SATS = {
|
||||||
"",
|
"",
|
||||||
"_s50"
|
"_s50"
|
||||||
@ -182,8 +179,6 @@ end
|
|||||||
function unifieddyes.fix_after_screwdriver_nsew(pos, node, user, mode, new_param2)
|
function unifieddyes.fix_after_screwdriver_nsew(pos, node, user, mode, new_param2)
|
||||||
local new_fdir = new_param2 % 8
|
local new_fdir = new_param2 % 8
|
||||||
local color = new_param2 - new_fdir
|
local color = new_param2 - new_fdir
|
||||||
print(new_fdir)
|
|
||||||
|
|
||||||
if new_fdir < 2 then
|
if new_fdir < 2 then
|
||||||
new_fdir = 2
|
new_fdir = 2
|
||||||
minetest.swap_node(pos, { name = node.name, param2 = new_fdir + color })
|
minetest.swap_node(pos, { name = node.name, param2 = new_fdir + color })
|
||||||
|
Loading…
Reference in New Issue
Block a user