|
1 | | -#include "api/CommandAPI.h" |
2 | | - |
3 | | -#include "api/BaseAPI.h" |
4 | | -#include "api/BlockAPI.h" |
5 | | -#include "api/CommandOriginAPI.h" |
6 | | -#include "api/CommandOutputAPI.h" |
7 | | -#include "api/EntityAPI.h" |
8 | | -#include "api/ItemAPI.h" |
9 | | -#include "api/McAPI.h" |
10 | | -#include "api/PlayerAPI.h" |
11 | | -#include "engine/EngineOwnData.h" |
12 | | -#include "engine/GlobalShareData.h" |
13 | | -#include "engine/LocalShareData.h" |
| 1 | +#include "legacy/api/CommandAPI.h" |
| 2 | + |
| 3 | +#include "legacy/api/BaseAPI.h" |
| 4 | +#include "legacy/api/BlockAPI.h" |
| 5 | +#include "legacy/api/CommandOriginAPI.h" |
| 6 | +#include "legacy/api/CommandOutputAPI.h" |
| 7 | +#include "legacy/api/EntityAPI.h" |
| 8 | +#include "legacy/api/ItemAPI.h" |
| 9 | +#include "legacy/api/McAPI.h" |
| 10 | +#include "legacy/api/PlayerAPI.h" |
| 11 | +#include "legacy/engine/EngineOwnData.h" |
| 12 | +#include "legacy/engine/GlobalShareData.h" |
| 13 | +#include "legacy/engine/LocalShareData.h" |
14 | 14 | #include "ll/api/command/CommandHandle.h" |
15 | 15 | #include "ll/api/command/runtime/RuntimeCommand.h" |
16 | 16 | #include "ll/api/command/runtime/RuntimeOverload.h" |
@@ -104,7 +104,6 @@ Local<Value> convertResult(ParamStorageType const& result, CommandOrigin const& |
104 | 104 | 0 |
105 | 105 | ); |
106 | 106 | return ItemClass::newItem(std::move(item)); |
107 | | - |
108 | 107 | } |
109 | 108 | if (result.hold(ParamKind::Kind::Actor)) { |
110 | 109 | auto arr = Array::newArray(); |
|
0 commit comments