Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Error given for setting world order is misleading. #62

Open
shaynemk opened this issue Apr 9, 2016 · 0 comments
Open

Error given for setting world order is misleading. #62

shaynemk opened this issue Apr 9, 2016 · 0 comments

Comments

@shaynemk
Copy link
Contributor

shaynemk commented Apr 9, 2016

I was just trying to set the world order on one of my servers, and ran across what seemed like an odd error. I ran the command /dmap worldset dim1 order:3, and it gave me an error message relating to the center of the world:

Cannot set center on disabled or undefined world

Didn't make sense to me as I was not fidgeting with the map center at all, I just don't care for the extra dimensions from the FTB pack I'm running being sorted above the standard Minecraft dimensions.

Upon running the error through Google, I found that I had mistyped the world name. I found the error message in DynmapMapCommands.java, and I figure that when it was being refactored you copied/pasted the block but forgot to change the message given for setting the world order on line 249. I forked, and will submit a PR shortly. I would suggest making a note in the error messages regarding the fact that the issue could be due to a misspelled dimension name as the current message could seem vague to a user, but I will leave that up to you unless you want me to work on it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant