Inventory's is full skript

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Fled

Member
Sep 18, 2024
1
0
1
19
I made a skript that i wanted to have check if a player's inventory was full but i am running into an issue where it works for most blocks but out of them the 2 that didnt work were carrots and potatos:

on break:
set {_item} to event-item
if player doesn't have enough space for {_item}:
send title "&cYour Inventory is full!" to player for 3 seconds
cancel event

I cant figure out why this is happening?