Getting SlotIndex property returning "No Value Present"

Hey all, I’m trying to get the SlotIndex using getProperty, but it is returning No Value Present.

SlotIndex slotIndex = slot.getProperty(SlotIndex.class, slot).get();

All the threads I have seen so far haven’t been answered so I thought I would make a new one.

-EDIT-

Found the right way.
SlotIndex slotIndex = slot.getProperty(SlotIndex.class, "slotindex").get();
if anyone was wondering.

Mind marking as solved? :smiley: