Skip to content

Commit

Permalink
fix(crash): mystic InvocationTargetException found by Krisuna
Browse files Browse the repository at this point in the history
  • Loading branch information
iGoodie committed Sep 7, 2020
1 parent 3b3b3e8 commit b1214f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public DropAction(List<String> words) throws TSLSyntaxError {
List<String> actionWords = actionPart(words);

if (actionWords.size() != 1 && actionWords.size() != 2)
throw new TSLSyntaxError("Invalid length of words: " + actionWords);
throw new TSLSyntaxError("Invalid length of words: %s", actionWords);

this.itemRaw = actionWords.get(0);

Expand Down

0 comments on commit b1214f8

Please sign in to comment.