i made a new inventory system, from scratch.
that works well but sometimes the collisions for some specific objects bug out and the collision does not work
the code is here:
the collision mask for small objects (1x1)
the collision for bigger objects (2+x2+)
it sometimes works fine when i make the collision mask of it again
weird but frustrating