Solved My plugin returns an error

Discussion in 'Plugin Development' started by EeZeeRo, Apr 13, 2021.

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

    EeZeeRo

    upload_2021-4-14_9-50-42.png

    It comes out when I poke at an item in the created inventory

    upload_2021-4-14_9-51-51.png

    upload_2021-4-14_9-52-14.png

    When I remove location and everything associated with it-there are no problems, when pressed, it does everything that I need

    Sorry, I made a mistake. I forgot to add the coordinates to config.yml and thought it wouldn't affect anything.
     
    Last edited by a moderator: Apr 13, 2021
  2. Offline

    Newdel

    Your config probably doesn't contain these keys or you misspelled them


    btw...
    Why are you doing that?
     
  3. Offline

    Chr0mosom3

    A couple of things,

    1. Please don't post screenshots, format your code using the markup options at the toolbar. Also please paste your whole class instead of just that snippet of code.
    2. Post your config and your main class as those could be the source of the problems too.

    3. As I see that your problem is solved, it would be useful if you could use the Thread Tools button at the top of your post and changed the question prefix to SOLVED
     
Thread Status:
Not open for further replies.

Share This Page