Skip to content

Commit

Permalink
fix for group name
Browse files Browse the repository at this point in the history
  • Loading branch information
cwisniew committed Sep 28, 2023
1 parent 0254393 commit 049d78c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public GenesysDiceResultBuilder visitGenesysMultipleDiceResults(
public GenesysDiceResultBuilder visitGroupedGenesysRoll(GroupedGenesysRollContext ctx) {
var groupRes = new GenesysDiceResultBuilder();
var res = visit(ctx.genesysRolls());
return groupRes.addGroup(ctx.groupName().getText(), res).setRollString(ctx.getText());
return groupRes.addGroup(ctx.groupName().getText().replaceAll(":$", ""), res).setRollString(ctx.getText());
}

@Override
Expand Down

0 comments on commit 049d78c

Please sign in to comment.