Get a chest inventory on interact

Discussion in 'Plugin Development' started by travja, May 9, 2012.

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

    travja

    Hey, how would I remove the chest if it's broken?
     
  2. Offline

    TheAwesomeJocke

    Could you please help me? I have put the problems in another comment.
     
  3. Offline

    Craftiii4

    I have posted that before, check the posts ^^.
     
  4. Offline

    travja

    What's TestTest04, cause it's giving an error..
     
  5. Offline

    Craftiii4

    It is checking a hash map so that will be the plugin name.
     
  6. Offline

    travja

    oh, ok!

    Wait... What hashmap is it checking?

    Using this:
    if (plugin.world.containsKey(worldname)) {

    I get this error on world:
    world cannot be resolved or is not a field

    So is world a HashMap or what do I do for this?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  7. Offline

    Craftiii4

    In this plugin it is creating a hash map called world. This is just to make sure that the chest is in the right world. You should not need to use this
     
Thread Status:
Not open for further replies.

Share This Page