sk89q/worldedit — pull request #153 by bratta (2011-12-22 02:27:57+00:00)
Title: Adding support for natural directions

Hey guys,

I noticed when playing with WorldEdit and Rei's MiniMap that the directions didn't line up, that WorldEdit is using the pre-Beta 1.9 prerelease 4 behavior of the sun rising in the North. Personally I wanted to see the `//expand` and similar commands work with the minimap, so I implemented a "Natural Directions" command in WorldEdit to toggle between the classic behavior and the more natural behavior. I default it to off so when adding the command the users should (hopefully) not see any difference unless they do a `//ndirections on` or set `natural-directions=true` in the `worldedit.properties` file.

I'm not super familiar with the Bukkit/WorldEdit code bases yet so I may have missed something, but from my testing in single player mode it works like a champ. Feel free to merge it, steal it, or ignore it at your leisure.

Happy coding,

bratta