Skip to content

Commit 82f1238

Browse files
committed
fix max length of character name
fix #274
1 parent 87bb8b5 commit 82f1238

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/validation/limits.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package validation
33
const (
44
MaxRunesAllowedInACharacterName = 29 // Larggest character name length possible
55
MinRunesAllowedInACharacterName = 2 // Smallest character name length possible
6-
MaxRunesAllowedInACharacterNameWord = 16 // Larggest character name word length possible (new names only 14, but older ones are longer)
6+
MaxRunesAllowedInACharacterNameWord = 20 // Larggest character name word length possible (new names only 14, but older ones are longer)
77
MinRunesAllowedInACharacterNameWord = 2 // Smallest character name word length possible
88

99
MaxRunesAllowedInAGuildName = 29 // Larggest guild name length possible

src/validation/validation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ func TestFake(t *testing.T) {
836836

837837
assert.Equal(29, MaxRunesAllowedInACharacterName)
838838
assert.Equal(2, MinRunesAllowedInACharacterName)
839-
assert.Equal(16, MaxRunesAllowedInACharacterNameWord)
839+
assert.Equal(20, MaxRunesAllowedInACharacterNameWord)
840840
assert.Equal(2, MinRunesAllowedInACharacterNameWord)
841841

842842
assert.Equal(29, MaxRunesAllowedInAGuildName)

0 commit comments

Comments
 (0)