Silence unmaskable print statements
This commit is contained in:
parent
54eb88c2c3
commit
568c3d6857
|
@ -232,7 +232,7 @@ local function update_rail_connections(pos, opt)
|
|||
-- Apply the mapping
|
||||
local new_name = nodedef._mcl_minecarts.base_name..rule[1]
|
||||
if new_name ~= node.name or node.param2 ~= rule[2] then
|
||||
print("swapping "..node.name.." for "..new_name..","..tostring(rule[2]).." at "..tostring(pos))
|
||||
--print("swapping "..node.name.." for "..new_name..","..tostring(rule[2]).." at "..tostring(pos))
|
||||
node.name = new_name
|
||||
node.param2 = rule[2]
|
||||
minetest.swap_node(pos, node)
|
||||
|
|
|
@ -850,7 +850,7 @@ function mcl_minecarts.place_minecart(itemstack, pointed_thing, placer)
|
|||
|
||||
-- Call placer
|
||||
if le._mcl_minecarts_on_place then
|
||||
print("Calling on_place")
|
||||
--print("Calling on_place")
|
||||
le._mcl_minecarts_on_place(le, placer)
|
||||
end
|
||||
|
||||
|
@ -1124,7 +1124,7 @@ function table_metadata(table)
|
|||
return {
|
||||
table = table,
|
||||
set_string = function(self, key, value)
|
||||
print("set_string("..tostring(key)..", "..tostring(value)..")")
|
||||
--print("set_string("..tostring(key)..", "..tostring(value)..")")
|
||||
self.table[key] = tostring(value)
|
||||
end,
|
||||
get_string = function(self, key)
|
||||
|
|
|
@ -133,7 +133,7 @@ local function register_rail_v2(itemstring, ndef)
|
|||
if not ndef.inventory_image then ndef.inventory_image = ndef.tiles[1] end
|
||||
if not ndef.wield_image then ndef.wield_image = ndef.tiles[1] end
|
||||
|
||||
print("registering rail "..itemstring.." with definition: "..dump(ndef))
|
||||
--print("registering rail "..itemstring.." with definition: "..dump(ndef))
|
||||
|
||||
-- Make registrations
|
||||
minetest.register_node(itemstring, ndef)
|
||||
|
|
Loading…
Reference in New Issue