Double Chest [1.1]

Discussion in 'Plugin Development' started by ensirius, Apr 21, 2012.

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

    ensirius

    Hello, i writed code that delete all items from chest,but it's not delete items from double chest. Can you help,what i need to do to delete items in double chest. Currently our server at version 1.1 and looks like in 1.2 something changed in double chest. Please, help :)
     
  2. Offline

    ensirius

  3. Offline

    Ne0nx3r0

    You might take a look at this thread:
    http://forums.bukkit.org/threads/my-double-chest-code-in-development.24997/

    Otherwise if all you are doing is removing the items (and nothing too fancy) you could check the N/S/E/W block faces to see if any of those four blocks next to it is a chest. if it is, then I believe you're safe to assume that is the attached chest, which you could remove all the items from.
     
Thread Status:
Not open for further replies.

Share This Page