Solved Getting specific location isn't working

Discussion in 'Plugin Development' started by Xp10d3, Feb 18, 2020.

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

    Xp10d3

    I am creating something that will run a command if you are at a specific location, but for some reason it doesn't work at all. I go to that location AND world and it doesn't seem to work. I have no clue on how to fix it; I've tried changing int to double to see if it would make a difference, but that obviously doesn't seem to be the issue. I don't know if it's something wrong with my config or it requires getting an array list instead, but either way I'm stumped on this issue.

    PlayerListeners.java::https://sourceb.in/fb2ddffad5

    Core.java: https://sourceb.in/64d261d877

    Logs: https://hatebin.com/hvzogehwia

    Config.yml (from the plugins/RepalceCommandBlocks folder): https://hatebin.com/narhhtdbsi
     
  2. Offline

    caderapee

    @Xp10d3
    You compare string with equals()
     
  3. Offline

    Xp10d3

    Thanks! Fixed :)
     
Thread Status:
Not open for further replies.

Share This Page