Solved Home Plugin Bug

Discussion in 'Plugin Development' started by Aragone, Jun 8, 2019.

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

    Aragone

    Hello !

    I have some problems with my HomePlugin when I perform /home. I really don't know why. I suspect the getting of the 'world' in the database. What do you think ?

    EDIT : There is a problem only when there is a home set.

    Thanks for your answers.
     

    Attached Files:

  2. Online

    timtower Administrator Administrator Moderator

    @Aragone Try to use code blocks or https://pastebin.com for code. Images are terrible for it.
    And save the world with world.getName(), not toString
     
  3. Offline

    Aragone

    Ok I will try.
    Thank you for the astuce with pastebin
     
    Last edited: Jun 9, 2019
  4. Online

    timtower Administrator Administrator Moderator

    You use it instead of toString, then you do Bukkit.getWorld(worldname)
     
  5. Offline

    Aragone

    It runs !

    Thank you very much !
     
Thread Status:
Not open for further replies.

Share This Page