Skip to content

Commit

Permalink
fix bug that crashed the game with Watcher energy cards
Browse files Browse the repository at this point in the history
  • Loading branch information
avolny committed Oct 15, 2020
1 parent e58fcb2 commit 6ab07bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/str_exporter/DeckJSONBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ private String getKeywordRepr(String word) {
StringBuilder sb = new StringBuilder();

if (word.equals("[R]") || word.equals("[G]") || word.equals("[B]") || word.equals("[W]") || word.equals("[E]")) {
word = "[E]";
sb.append(sanitize(word));
sb.append(' ');
sb.append(TEXT[0]); // word Energy
Expand Down

0 comments on commit 6ab07bd

Please sign in to comment.