failcheck
This commit is contained in:
@@ -647,6 +647,9 @@ local function VP_createstack(buf, dimensions)
|
||||
end
|
||||
local function VP_splitstack(_stack, x)
|
||||
local stack = _stack["stacks"]
|
||||
if #stack == 0 then
|
||||
error("Internal error, splitstack received 0 stacks. There is nothing to split.")
|
||||
end
|
||||
local dimensions = _stack["dimensions"]
|
||||
local sx = dimensions["sx"]
|
||||
local sz = dimensions["sz"]
|
||||
|
||||
Reference in New Issue
Block a user