Fix problem with setting worldedit selection.

This commit is contained in:
Joseph Pickard 2016-01-10 15:56:06 -05:00
parent 6bba3ad794
commit f77d7743eb

View File

@ -149,6 +149,7 @@ end
function areas:setPos1(playerName, pos)
if areas.useWorldedit(playerName) then
worldedit.pos1[playerName] = pos;
worldedit.mark_pos1(name);
else
areas.pos1[playerName] = pos
areas.markPos1(playerName)
@ -158,6 +159,7 @@ end
function areas:setPos2(playerName, pos)
if areas.useWorldedit(playerName) then
worldedit.pos2[playerName] = pos;
worldedit.mark_pos2(name);
else
areas.pos2[playerName] = pos
areas.markPos2(playerName)