Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Commit

Permalink
Check for comments before tokenizing. #132
Browse files Browse the repository at this point in the history
  • Loading branch information
cnaude committed Apr 18, 2016
1 parent 056ff40 commit 784d85a
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -647,7 +647,10 @@ public String reportRTSTokenizer(String pName, String template, Ticket ticket) {
String displayModName = "";
String name = ticket.getName();
String world = ticket.getWorld();
String modComment = ticket.getComments().last().getComment();
String modComment = "";
if (!ticket.getComments().isEmpty()) {
modComment = ticket.getComments().last().getComment();
}
int id = ticket.getId();
if (message == null) {
message = "";
Expand Down

0 comments on commit 784d85a

Please sign in to comment.