Jump to content

Recommended Posts

Posted (edited)

Probably a trivial question, but in my itemhandler I'm trying to check the item type to determine whether its valid or not for a slot. It's trivial to check the other items (whether A is instance of B or is assignable from), but it seems like the armor and shields work differently. I can't use the helper method for valid armors because the slot isn't an armor slot, it's a storage slot that can accepts any armor and shields.

 

And of course i find it the moment after I post. Checking for the armor type works, I just wasn't checking the slot indices correctly.

Edited by Turtledove

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.