Closed HoldYourWaffle closed 1 year ago
Title says it all, turns out SNBTWriter has been broken since 0eeca85b28c831f2febf105d0b00045540a10100 :(
SNBTWriter
There current implementation is flawed in two ways:
PrintWriter
println
This PR fixes them :)
Title says it all, turns out
SNBTWriter
has been broken since 0eeca85b28c831f2febf105d0b00045540a10100 :(There current implementation is flawed in two ways:
PrintWriter
is left to the default system charset, which (unfortunately) isn't always UTF-8.PrintWriter
is never flushed, becauseprintln
(and similar) methods are never used.This PR fixes them :)