I am trying to use the method getWorld
to get the world of a string, but every time, no matter what string I input, null
is returned. Here is an example of what I have tried:
World world = server.getWorld("world");
As documented here it states that the method would return null if the world does not exist, however I have made sure that my world name is world
. I've googled around too for a solution, but no luck.