sk89q/worldguard — pull request #310 by jmhertlein (2014-02-25 21:01:00+00:00)
Title: Fixed ProtectedCuboidRegion::getPoints() returning points in wrong order

ProtectedPolygonRegion returns points in an order such that you could play "connect the dots" and end up with the correct polygon. ProtectedCuboidRegion returns them in an order such that playing connect the dots gives you a Z shape. This breaks the intersectsEdges() function in ProtectedRegion when comparing cuboids. This commit causes ProtectedCuboidRegion::getPoints() to return them in an order consistent with ProtectedPolygonRegion, which makes intersectsEdges() work correctly.