1
0
Fork 0

Fixed a cryptic error message

Migrated it to mcl_log and maded it clearer
This commit is contained in:
the-real-herowl 2023-12-30 04:53:17 +01:00
parent befd98b83e
commit 1bad5659cf
1 changed files with 1 additions and 1 deletions

View File

@ -1075,7 +1075,7 @@ function mcl_util.move_list(src_inv, src_listname, out_inv, out_listname, pos, d
v.y = v.y * 4 + 2 v.y = v.y * 4 + 2
v.z = v.z * 4 v.z = v.z * 4
obj:set_velocity(v) obj:set_velocity(v)
minetest.log("error", vector.to_string(v)) mcl_util.mcl_log("item velocity calculated "..vector.to_string(v), "[mcl_util]")
end end
if not insta_collect then if not insta_collect then
obj:get_luaentity()._insta_collect = false obj:get_luaentity()._insta_collect = false