Skip to content

Commit

Permalink
Fix discriminators cutting off leading zeros
Browse files Browse the repository at this point in the history
  • Loading branch information
MinnDevelopment committed Apr 12, 2017
1 parent be5bafa commit db7850e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public String getName()
@Override
public String getDiscriminator()
{
return String.valueOf(discriminator);
return String.format("%04d", discriminator);
}

@Override
Expand Down

0 comments on commit db7850e

Please sign in to comment.