mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-17 07:50:29 +01:00
Removed useless and flooding debug print
- Removed flooding, useless and crashing call to minetest.log in cart mod (may be replaced by something else in the future)
This commit is contained in:
parent
99e74718cc
commit
afd04d39c6
|
@ -596,7 +596,6 @@ minetest.register_craftitem("carts:cart", {
|
||||||
return itemstack
|
return itemstack
|
||||||
elseif cart_func:is_rail(pointed_thing.above) then
|
elseif cart_func:is_rail(pointed_thing.above) then
|
||||||
minetest.add_entity(pointed_thing.above, "carts:cart")
|
minetest.add_entity(pointed_thing.above, "carts:cart")
|
||||||
minetest.log("action", "carts:cart placed at " .. pos_to_string(self.object:getpos()) .. ".")
|
|
||||||
if not minetest.setting_getbool("creative_mode") then
|
if not minetest.setting_getbool("creative_mode") then
|
||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user