diff --git a/src/main/java/io/github/haykam821/withersweeper/game/board/Board.java b/src/main/java/io/github/haykam821/withersweeper/game/board/Board.java index 6c9e3e1..af9995d 100644 --- a/src/main/java/io/github/haykam821/withersweeper/game/board/Board.java +++ b/src/main/java/io/github/haykam821/withersweeper/game/board/Board.java @@ -17,7 +17,7 @@ public class Board { public Board(BoardConfig config) { this.config = config; - this.fields = new Field[this.config.x][this.config.z]; + this.fields = new Field[this.config.z][this.config.x]; for (int x = 0; x < this.config.x; x++) { for (int z = 0; z < this.config.z; z++) { this.setField(x, z, new NumberField(0));