From a44c4ad107a197a92e9ffdde38593fd7012a309e Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Mon, 12 Aug 2013 12:50:57 +0200 Subject: Writing maps implemented --- mcmap/examples/emeraldfinder/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mcmap/examples/emeraldfinder/main.go') diff --git a/mcmap/examples/emeraldfinder/main.go b/mcmap/examples/emeraldfinder/main.go index c437d41..56a1a26 100644 --- a/mcmap/examples/emeraldfinder/main.go +++ b/mcmap/examples/emeraldfinder/main.go @@ -16,9 +16,9 @@ func main() { os.Exit(1) } - region, err := mcmap.OpenRegion(*path) + region, err := mcmap.OpenRegion(*path, true) if err != nil { - fmt.Fprintf(os.Stderr, "Could not open region: %s", err) + fmt.Fprintf(os.Stderr, "Could not open region: %s\n", err) os.Exit(1) } @@ -31,7 +31,7 @@ chunkLoop: case mcmap.NotAvailable: continue chunkLoop default: - fmt.Fprintf(os.Stderr, "Error while getting chunk (%d, %d): %s", cx, cz, err) + fmt.Fprintf(os.Stderr, "Error while getting chunk (%d, %d): %s\n", cx, cz, err) os.Exit(1) } -- cgit v1.2.3-54-g00ecf