From bedb7ffe851b8ee20fcaa855a31374b64c51f2b9 Mon Sep 17 00:00:00 2001 From: mezz Date: Wed, 15 Jun 2016 16:04:53 -0700 Subject: [PATCH] Fix the save bee stats command --- src/main/java/forestry/core/commands/CommandSaveStats.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/forestry/core/commands/CommandSaveStats.java b/src/main/java/forestry/core/commands/CommandSaveStats.java index f54e73c35..3c7f99abb 100644 --- a/src/main/java/forestry/core/commands/CommandSaveStats.java +++ b/src/main/java/forestry/core/commands/CommandSaveStats.java @@ -119,7 +119,7 @@ public final class CommandSaveStats extends SubCommand { } } - File file = new File(Proxies.common.getForestryRoot(), "config/" + Constants.MOD_ID + "/stats/" + player.getDisplayName() + '-' + saveHelper.getFileSuffix() + ".log"); + File file = new File(Proxies.common.getForestryRoot(), "config/" + Constants.MOD_ID + "/stats/" + player.getDisplayNameString() + '-' + saveHelper.getFileSuffix() + ".log"); try { File folder = file.getParentFile(); if (folder != null && !folder.exists()) {