Skip to content

Commit aa314a1

Browse files
committed
Fix error inside error.
1 parent 9369580 commit aa314a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.byteskript</groupId>
88
<artifactId>byteskript</artifactId>
9-
<version>1.0.33</version>
9+
<version>1.0.34</version>
1010
<name>ByteSkript</name>
1111
<description>A compiled JVM implementation of the Skript language.</description>
1212

src/main/java/org/byteskript/skript/error/ScriptParseError.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ public int getLine() {
6262
@Override
6363
public void printStackTrace(PrintStream stream) {
6464
if (details == null) super.printStackTrace(stream);
65-
printStackTrace(new OutputWriter(stream, null));
65+
else printStackTrace(new OutputWriter(stream, null));
6666
}
6767

6868
@Override
6969
public void printStackTrace(PrintWriter stream) {
7070
if (details == null) super.printStackTrace(stream);
71-
printStackTrace(new OutputWriter(null, stream));
71+
else printStackTrace(new OutputWriter(null, stream));
7272
}
7373

7474
@Override

0 commit comments

Comments
 (0)