summaryrefslogtreecommitdiff
path: root/worldedit/compatibility.lua
diff options
context:
space:
mode:
Diffstat (limited to 'worldedit/compatibility.lua')
-rw-r--r--worldedit/compatibility.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/worldedit/compatibility.lua b/worldedit/compatibility.lua
index eb81eea..ff3447f 100644
--- a/worldedit/compatibility.lua
+++ b/worldedit/compatibility.lua
@@ -18,3 +18,6 @@ worldedit.metaload = function(originpos, filename)
local data = file:read("*a")
return worldedit.deserialize(originpos, data)
end
+worldedit.scale = function(pos1, pos2, factor)
+ return worldedit.stretch(pos1, pos2, factor, factor, factor)
+end \ No newline at end of file