how many item decetor

is there any way to detect if for example: if a player has 64 diamonds he gets fire res

Continue to help post