Fixed //save not sorting positions (thanks to cosarara97).

This commit is contained in:
Anthony Zhang 2012-07-16 12:37:02 -04:00
parent 5869ccf7f8
commit 6a6f37460d

@ -204,6 +204,7 @@ end
--converts the region defined by positions `pos1` and `pos2` into a single string, returning the serialized data and the number of nodes serialized
worldedit.serialize = function(pos1, pos2)
local pos1, pos2 = worldedit.sort_pos(pos1, pos2)
local pos = {x=pos1.x, y=0, z=0}
local count = 0
local result = {}