Solved Check if inventory is from trapped chest

Discussion in 'Plugin Development' started by bennie3211, Feb 29, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    bennie3211

    Hello,

    I've a question, is it possible to check if the inventory is from a trapped chest or a normal chest? I can't cast it to a TrappedChest like a double chest and couldn't find anything with forum search.

    Thnx
     
  2. Offline

    SkyleTyler1337

  3. Offline

    bennie3211

    @SkyleTyler1337 Like I didn't do anything... But thnx for this useless information. I already got it working for a normal chest, but I can't get it to check if it's a normal or trapped chest. Don't think I come here to get spoonfeeded or whatever, I came here to get help to check if a inventory is a trapped chest.

    EDIT:
    Solved with a workaround, I still don't know how to check it from a inventory.getholder() but it works.
     
    Last edited: Feb 29, 2016
  4. Offline

    SkyleTyler1337

Thread Status:
Not open for further replies.

Share This Page