Need help

Discussion in 'Plugin Development' started by XStreetForceX, Jun 5, 2013.

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

    XStreetForceX

    Probably another noob mistake

    http://pastebin.com/WH3dDVmx

    Description Resource Path Location Type
    Type mismatch: cannot convert from element type Object to Map.Entry Configuration.java /HPSpells/src/net/apunch/spells/util line 109 Java Problem


    (eclipse error on) for (Map.Entry entry : defaults.entrySet())
     
  2. Offline

    XStreetForceX

    Gonna bump this .. help :D
     
  3. Offline

    chasechocolate

    XStreetForceX use HashMap<String, String> defaults = new HashMap<String, String>(). And then you should be able to get entries.
     
  4. Offline

    XStreetForceX

    Very thx but which line should i add this ... kinda new in this bukkit thingy :D

    But thx alot
     
  5. Offline

    chasechocolate

  6. Offline

    XStreetForceX

    Probably i'm doing something wrong ... is it possible to add the line number and what i need to change ...

    Sorry probably screwing up with something little

    Bump sorry :D

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

    Drkmaster83

    What exactly is confusing you? Explain what you need done, and post your code. Try to be as specific as possible.
     
Thread Status:
Not open for further replies.

Share This Page