0
0
Fork 0

Silence unmaskable print statements

This commit is contained in:
teknomunk 2024-04-03 22:07:14 +00:00
parent c1a7001c31
commit 284c366136
3 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)