We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6656c87 commit 52f78ecCopy full SHA for 52f78ec
src/main/java/mods/Hileb/shotaasm/api/ScriptFile.java
@@ -39,7 +39,7 @@ public static ScriptFile create(String name, String rawText){
39
byte[] b2 = new byte[line.length() + 1 + b1.length];
40
System.arraycopy(line.getBytes(), 0, b2, 0, line.length());
41
b2[line.length()] = '\n';
42
- System.arraycopy(b1, line.length() + 1, b2, 0, b1.length);
+ System.arraycopy(b1, line.length(), b2, 0, b1.length);
43
44
return new ScriptFile(
45
name,
0 commit comments