mirror of https://github.com/kami-blue/client
[fix] `;dupebook` turning literal Int to String instead of unicode Chars
This was really annoying to debug. Closes #1835 Signed-off-by: Dominika <sokolov.dominika@gmail.com>
This commit is contained in:
parent
bbf7d0fae1
commit
dd42ead163
|
@ -44,7 +44,7 @@ object DupeBookCommand : ClientCommand(
|
||||||
|
|
||||||
val joinedPages = characterGenerator
|
val joinedPages = characterGenerator
|
||||||
.limit(50 * 210)
|
.limit(50 * 210)
|
||||||
.mapToObj { it.toString() }
|
.mapToObj { it.toChar().toString() } // this has to be turned into a Char first, otherwise you will get the raw Int value
|
||||||
.collect(Collectors.joining())
|
.collect(Collectors.joining())
|
||||||
|
|
||||||
val pages = NBTTagList()
|
val pages = NBTTagList()
|
||||||
|
|
Loading…
Reference in New Issue