fix syntax errors

This commit is contained in:
Starbeamrainbowlabs 2023-09-23 21:56:56 +01:00
parent 621ca53d28
commit f02b1d0b33
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 4 additions and 4 deletions

View File

@ -14,14 +14,14 @@ StagedVoxelRegion.__index = StagedVoxelRegion
StagedVoxelRegion.__name = "StagedVoxelRegion" -- A hack to allow identification in wea.inspect
local function make_instance(tbl) {
local function make_instance(tbl)
local result = tbl
if result == nil then
result = {}
end
setmetatable(result, StagedVoxelRegion)
return result
}
end
------------------------------------------------------------------------------
@ -67,8 +67,8 @@ function StagedVoxelRegion.NewFromRaw(pos1, pos2, data, param2)
return make_instance({
name = "untitled",
description = "",
pos1 = pos1:clone()
pos2 = pos2:clone()
pos1 = pos1:clone(),
pos2 = pos2:clone(),
tables = {
data = data,
param2 = param2