mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-30 22:41:20 +01:00
Silence unmaskable print statements
This commit is contained in:
parent
c1a7001c31
commit
284c366136
3 changed files with 4 additions and 4 deletions
|
@ -232,7 +232,7 @@ local function update_rail_connections(pos, opt)
|
||||||
-- Apply the mapping
|
-- Apply the mapping
|
||||||
local new_name = nodedef._mcl_minecarts.base_name..rule[1]
|
local new_name = nodedef._mcl_minecarts.base_name..rule[1]
|
||||||
if new_name ~= node.name or node.param2 ~= rule[2] then
|
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.name = new_name
|
||||||
node.param2 = rule[2]
|
node.param2 = rule[2]
|
||||||
minetest.swap_node(pos, node)
|
minetest.swap_node(pos, node)
|
||||||
|
|
|
@ -850,7 +850,7 @@ function mcl_minecarts.place_minecart(itemstack, pointed_thing, placer)
|
||||||
|
|
||||||
-- Call placer
|
-- Call placer
|
||||||
if le._mcl_minecarts_on_place then
|
if le._mcl_minecarts_on_place then
|
||||||
print("Calling on_place")
|
--print("Calling on_place")
|
||||||
le._mcl_minecarts_on_place(le, placer)
|
le._mcl_minecarts_on_place(le, placer)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1124,7 +1124,7 @@ function table_metadata(table)
|
||||||
return {
|
return {
|
||||||
table = table,
|
table = table,
|
||||||
set_string = function(self, key, value)
|
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)
|
self.table[key] = tostring(value)
|
||||||
end,
|
end,
|
||||||
get_string = function(self, key)
|
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.inventory_image then ndef.inventory_image = ndef.tiles[1] end
|
||||||
if not ndef.wield_image then ndef.wield_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
|
-- Make registrations
|
||||||
minetest.register_node(itemstring, ndef)
|
minetest.register_node(itemstring, ndef)
|
||||||
|
|
Loading…
Reference in a new issue