Closed Makkief closed 4 years ago
Strange, should not happen. I will have a look tomorrow because I am not home until then
I found the reason.
It only occurs when the name of Buttons start with '&f'.
in InventoryPageHook item.getType() == nextMat && item.getItemMeta().getDisplayName().equals(nextName))
There is a problem with check if item's displayname is same with nextName.
It works fine with &8 or &e but when I use &f, It doesn't work.
It's really strange... I just changed the name of Button to '&e&fNext Page', and now It works fine.
I think there is no problem with the code above but &f.
Well thats strange. I will have a look tomorrow and will try to fix it :)
I can confirm that there is indeed a problem when using &f. I will have a look at it
not fixed yet. It still takes InventoryPages's buttons from my inventory and put them to the chest.