We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 537a79b commit fc557caCopy full SHA for fc557ca
2 files changed
build.gradle
@@ -6,7 +6,7 @@ plugins {
6
}
7
8
group 'dev.hephaestus'
9
-version '0.3.1'
+version '0.3.2'
10
11
repositories {
12
mavenCentral()
src/main/java/dev/hephaestus/proximity/cards/TextParser.java
@@ -122,7 +122,7 @@ private TextBody parse(boolean allWordsItalic) {
122
private String completeWord() {
123
String word = this.currentWord.toString();
124
125
- if (word.startsWith("\u2014") && this.oracle.charAt(i) != '\n') {
+ if (word.startsWith("\u2014") && i < this.oracle.length() && this.oracle.charAt(i) != '\n') {
126
loop: for (int i = this.text.size() - 1; i > 0; --i) {
127
List<TextComponent> list = this.text.get(i);
128
0 commit comments