1.2.1 : small fix
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -1,2 +0,0 @@
|
||||
mvn clean package && del download\*.jar && xcopy /Y target\*.jar download && git add download/*.jar
|
||||
pause
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>fr.klemek</groupId>
|
||||
<artifactId>mapping</artifactId>
|
||||
<version>1.2</version>
|
||||
<version>1.2.1</version>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
@@ -80,6 +80,7 @@
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<configuration>
|
||||
<outputDirectory>download</outputDirectory>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>fr.klemek.mapping.Launch</mainClass>
|
||||
|
||||
@@ -9,7 +9,7 @@ import javax.swing.*;
|
||||
class MainWindow extends JFrame {
|
||||
|
||||
static final String FILE_NAME = "mapping.csv";
|
||||
private static final String VERSION = "1.2";
|
||||
private static final String VERSION = "1.2.1";
|
||||
private static final int DEFAULT_SIZE = 17;
|
||||
private static final String INFO_TEXT = "" +
|
||||
"<html>" +
|
||||
|
||||
@@ -83,7 +83,7 @@ class Map {
|
||||
for (int y = 0; y < newSize; y++) {
|
||||
if (x < this.m.length && y < this.m.length)
|
||||
tm[x][y] = this.m[x][y];
|
||||
if (x < this.m2.length && y < this.m2.length)
|
||||
if (x < this.m2.length && y < this.m2.length && x < tm2.length && y < tm2.length)
|
||||
tm2[x][y] = this.m2[x][y];
|
||||
}
|
||||
this.m = tm;
|
||||
|
||||
Reference in New Issue
Block a user