getAttachment method
- int slotIndex,
- String name
Implementation
Attachment getAttachment(int slotIndex, String name) {
if (slotIndex >= attachments.length) return null;
return attachments[slotIndex][name];
}
Attachment getAttachment(int slotIndex, String name) {
if (slotIndex >= attachments.length) return null;
return attachments[slotIndex][name];
}