I currently have a skript so that whenever a player picks up a unique item it adds it to an array for the player so they cannot pickup the same item twice, however i have an issue where they can pickup 3 of an item and it will count as a different one than 1 of the same item, i need a way to avoid this so its based on what item it is and not how many of it, i tried using event-itemtype and it still says e.g 3 of dirt and then you can throw one on the ground and it will say picked up 1 of dirt and count them both.
Any help would be appreciated as I am struggling with this. Thank You.
Any help would be appreciated as I am struggling with this. Thank You.