diff --git a/advanced/arrays.md b/advanced/arrays.md index 252a594..20e5f8c 100644 --- a/advanced/arrays.md +++ b/advanced/arrays.md @@ -46,8 +46,8 @@ print(array.length); // array 的元素个数为 4,输出 4 你用过`recipes.addShaped()`吗?它的参数里面就有一个多维数组。准确的来说,是一个二维数组。 ```csharp -var as IItemStack = gold; -var as IItemStack = apple; +var gold as IItemStack = ; +var apple as IItemStack = ; recipes.addShaped("golden_apple", , [[gold,gold,gold],