Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
don't NPE on dimensionmanager toString
CraftBukkit uses vanillas DimensionManager, but does not actually register its own dimension types, etc, due to vanilla This causes issues because anything, e.g. command feedback, trying to print information about the world will often attempt to print out the dimension name, which ends up throwing an NPE due to the lack of a registered type, we work around this by just returning the world name, this is not super elegant, but is the only route that promises not to break stuff.
- Loading branch information