Solved Bukkit#getWorld returns null.

Discussion in 'Spigot Plugin Development' started by NormaalBart, Jun 3, 2017.

  1. Hey,

    I know when the world in the strings isn't found it returns null.
    But I'm just using the default location. Thus "world" and that also returns null.
    The whole time.
    Is there a bugg with it or something?
    If I've to show the code, I'll but I think it isn't necesarry.
    In the map, there is a directory called "world".

    Can anyone help me please?
  2. We can't help without code....
    • Like Like x 1
    • Agree Agree x 1
  3. Are you trying to get the name of the world? Spawn point of the world?
  4. Wadever, Already fixxed it myself.
    • Informative Informative x 1