mirror of
https://github.com/minetest-mods/areas.git
synced 2025-01-15 04:20:26 +01:00
Fix problem with setting worldedit selection.
This commit is contained in:
parent
6bba3ad794
commit
f77d7743eb
2
pos.lua
2
pos.lua
@ -149,6 +149,7 @@ end
|
|||||||
function areas:setPos1(playerName, pos)
|
function areas:setPos1(playerName, pos)
|
||||||
if areas.useWorldedit(playerName) then
|
if areas.useWorldedit(playerName) then
|
||||||
worldedit.pos1[playerName] = pos;
|
worldedit.pos1[playerName] = pos;
|
||||||
|
worldedit.mark_pos1(name);
|
||||||
else
|
else
|
||||||
areas.pos1[playerName] = pos
|
areas.pos1[playerName] = pos
|
||||||
areas.markPos1(playerName)
|
areas.markPos1(playerName)
|
||||||
@ -158,6 +159,7 @@ end
|
|||||||
function areas:setPos2(playerName, pos)
|
function areas:setPos2(playerName, pos)
|
||||||
if areas.useWorldedit(playerName) then
|
if areas.useWorldedit(playerName) then
|
||||||
worldedit.pos2[playerName] = pos;
|
worldedit.pos2[playerName] = pos;
|
||||||
|
worldedit.mark_pos2(name);
|
||||||
else
|
else
|
||||||
areas.pos2[playerName] = pos
|
areas.pos2[playerName] = pos
|
||||||
areas.markPos2(playerName)
|
areas.markPos2(playerName)
|
||||||
|
Loading…
Reference in New Issue
Block a user