diff --git a/README.md b/README.md index cf67a3c..5da71ac 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ Once you've installed the mod, launch Minecraft and type `/js load()` and load t Take a look over the cottage.js file to see how the Drone module can be used to easily create buildings. You can even create a whole row of cottages using the following in-game command... /js load("./cottage"); // path may vary on your machine - /js d = new Drone(); for (i=0; i < 20;i++){ cottage(d).right(10);} + /js var d = new Drone(); for (i=0; i < 20;i++){ d.cottage().right(10);} The above code loads the example blueprint for a cottage and uses a `for` loop to create multiple cottages from the blueprint. Keep a Minecraft Block reference handy - there's one here ...