Discussion in 'Plugin Development' started by Gonmarte, Jun 29, 2016.
Lets say i have a inventory called "Inv", with 54 slots, How do i check if this inventory exists?
@Gonmarte Exist in where?
I dont know if it exists. When a player clicks on a paper, on a inventory that i created, it will create a inventory with the player name. I need to check if the inventory doesnt exist.
Now you are getting clear.
Store the inventories in a map of some sort.
If you want to know if it exits: just check if the UUID is in the map.
I dont know why i didnt think on that.
Separate names with a comma.