I am trying to make a custom GUI, and when I attempt to determine whether an inventory click was in the top inventory, it doesn't work. I used Inventory#getTitle() and getName() to get the name, and it seems that the name is always the same, no matter if it's the player inventory or the custom inventory. I tried to get the inventory with e.getInventory() and e.getView.getTopInventory(), but it still doesn't work. I was wondering if this is a bug on my end, or if it's some issue with the server itself. If it's the server, what are some ways that I can detect a custom inventory?