Forgot bufferedlinewriter append option
This commit is contained in:
parent
c48bb701f2
commit
8c581d0973
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ public class VelocityLogging {
|
|||
|
||||
if (!logFilePath.toFile().exists()) createLogFolderAndFileIfItNotExists();
|
||||
|
||||
try (BufferedWriter writer = new BufferedWriter(new FileWriter(logFilePath.toFile()))) {
|
||||
try (BufferedWriter writer = new BufferedWriter(new FileWriter(logFilePath.toFile(), true))) {
|
||||
String logLine = "[" + playerName + "] " +
|
||||
"[" + server + "]:" +
|
||||
messageOrCommand;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue