diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2016-12-28 22:23:07 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2016-12-28 22:23:07 +0100 |
commit | e65f2330d0adf99894562b50031780b61cac9581 (patch) | |
tree | 0c4067ca768baf069b6ecfca7ea4b5630867a139 /income.lua | |
parent | 9623dca902f48e3aef1353817762e18f09966e20 (diff) |
Changed print() to minetest.log() to avoid annoying players in 0.4.15
Diffstat (limited to 'income.lua')
-rw-r--r-- | income.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ minetest.register_globalstep(function(dtime) players_income[name] = 0 end players_income[name] = 1 - print("[Currency] basic income for "..name.."") + minetest.log("info", "[Currency] basic income for "..name.."") end end end) @@ -27,7 +27,7 @@ earn_income = function(player) local inv = player:get_inventory() inv:add_item("main", {name="currency:minegeld_5", count=count}) players_income[name] = 0 - print("[Currency] added basic income for "..name.." to inventory") + minetest.log("info", "[Currency] added basic income for "..name.." to inventory") end end |