WorldEdit icon indicating copy to clipboard operation
WorldEdit copied to clipboard

Error when executing //walls or //set

Open SafwatHalaby opened this issue 7 years ago • 4 comments


[e1ae906d27f0c294|19:38:31] LUA: error in function 'new'.
     argument #2 is 'cCuboid'; '[no object]' expected.

[e1ae906d27f0c294|19:38:31] Stack trace:
[e1ae906d27f0c294|19:38:31]   [C](-1): (no name)
[e1ae906d27f0c294|19:38:31]   [C](-1): cCuboid
[e1ae906d27f0c294|19:38:31]   Plugins/WorldEdit/Classes/PlayerSelection.lua(253): GetSortedCuboid
[e1ae906d27f0c294|19:38:31]   Plugins/WorldEdit/functions.lua(128): FillWalls
[e1ae906d27f0c294|19:38:31]   Plugins/WorldEdit/Commands/Region.lua(629): (no name)
[e1ae906d27f0c294|19:38:31] Stack trace end
[e1ae906d27f0c294|19:38:31] LUA: BreakIntoDebugger() not found / not a function
[e1ae906d27f0c294|19:38:31] Error in <attached> calling function <callback>()

SafwatHalaby avatar Aug 21 '17 16:08 SafwatHalaby

Might apply to other commands too.

SafwatHalaby avatar Aug 21 '17 16:08 SafwatHalaby

Probably caused by the Vectorizing changes lately, the right cCuboid constructor might have been disabled from API export. This is a problem on Cuberite's side, not in WE itself.

madmaxoft avatar Aug 25 '17 13:08 madmaxoft

I see what the issue is now. https://github.com/cuberite/cuberite/commit/7bdbfad1bbabb84e650261ad31d2d9b47f8b12a9#diff-340f510ebeacdfbbbd90d90ff8090930L13

mathiascode avatar Aug 25 '17 14:08 mathiascode

I think it's actually this one: https://github.com/cuberite/cuberite/commit/7bdbfad1bbabb84e650261ad31d2d9b47f8b12a9#diff-2ebbdacd5770190cb86d8a1ccea60dcbL16

madmaxoft avatar Aug 25 '17 14:08 madmaxoft