Skip to content

Commit 5e4a008

Browse files
committed
update jmpq
1 parent 8f7652b commit 5e4a008

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

de.peeeq.wurstscript/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ dependencies {
110110
compile group: 'net.sourceforge.jchardet', name: 'jchardet', version: '1.0'
111111

112112
// Crigges' jmpq
113-
compile 'com.github.inwc3:jmpq3:1.8.1'
113+
compile 'com.github.inwc3:jmpq3:0aaca2373d'
114114

115115
// Water's wc3 libs
116-
compile 'com.github.inwc3:wc3libs:2641ac25e2'
116+
compile 'com.github.inwc3:wc3libs:7ece74aecc'
117117

118118
// The setup tool for wurst.build handling
119119
compile 'com.github.wurstscript:wurstsetup:4c65824b40'

de.peeeq.wurstscript/src/main/java/de/peeeq/wurstio/map/importer/ImportFile.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import java.io.*;
1313
import java.nio.ByteBuffer;
1414
import java.nio.ByteOrder;
15+
import java.nio.charset.StandardCharsets;
1516
import java.nio.file.Path;
1617
import java.util.LinkedList;
1718
import java.util.Optional;
@@ -169,9 +170,8 @@ private static void insertImportedFiles(MpqEditor mpq, File directory) throws Ex
169170
p = directory.toPath().relativize(p);
170171
String normalizedWc3Path = p.toString().replaceAll("/", "\\\\");
171172
dataOut.writeByte((byte) 13);
172-
dataOut.write(normalizedWc3Path.getBytes("UTF-8"));
173+
dataOut.write(normalizedWc3Path.getBytes(StandardCharsets.UTF_8));
173174
dataOut.write((byte) 0);
174-
WLogger.info("importing file: " + normalizedWc3Path);
175175
mpq.deleteFile(normalizedWc3Path);
176176
mpq.insertFile(normalizedWc3Path, f);
177177
}

0 commit comments

Comments
 (0)