So i'm trying to make a custom chest with an animation heavily inspired by the normal chest code, but it doesn't work. While debugging i noticed that it doesn't detect if players are in the gui, and i can't seem to figure out why... Any help is appreciated!
EDIT: found out that
openInventory()
is not called, am i missing something, like that it needs something to be called?
EDIT2: oh yep my feeling was right,
openInventory()
is not automatic, why do i always find solutions after i posted the problem...