mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2024-12-24 17:50:29 +01:00
remove debug prints
This commit is contained in:
parent
e921095006
commit
230ac1342a
2
init.lua
2
init.lua
@ -223,7 +223,6 @@ end
|
|||||||
-- This helper function creates a colored itemstack
|
-- This helper function creates a colored itemstack
|
||||||
|
|
||||||
function unifieddyes.make_colored_itemstack(item, palette, color)
|
function unifieddyes.make_colored_itemstack(item, palette, color)
|
||||||
print(item, palette, color)
|
|
||||||
local paletteidx = unifieddyes.getpaletteidx(color, palette)
|
local paletteidx = unifieddyes.getpaletteidx(color, palette)
|
||||||
local stack = ItemStack(item)
|
local stack = ItemStack(item)
|
||||||
stack:get_meta():set_int("palette_index", paletteidx)
|
stack:get_meta():set_int("palette_index", paletteidx)
|
||||||
@ -235,7 +234,6 @@ end
|
|||||||
|
|
||||||
local function register_c(craft, h, sat, val)
|
local function register_c(craft, h, sat, val)
|
||||||
local hue = (type(h) == "table") and h[1] or h
|
local hue = (type(h) == "table") and h[1] or h
|
||||||
print(craft.output, craft.output_prefix, craft.output_suffix, h, hue, sat, val)
|
|
||||||
local color = ""
|
local color = ""
|
||||||
if val then
|
if val then
|
||||||
if craft.palette == "wallmounted" then
|
if craft.palette == "wallmounted" then
|
||||||
|
Loading…
Reference in New Issue
Block a user