瀏覽代碼

More descriptive text.

Gio 7 年之前
父節點
當前提交
2c6543da9e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java

+ 1 - 1
src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java

@@ -298,7 +298,7 @@ public final class CommandUtils {
             String playerName = offlinePlayer.getName();
             String playerName = offlinePlayer.getName();
             
             
             if (playerName == null) { //Do null checking here to detect corrupted data before sending it throuogh .equals
             if (playerName == null) { //Do null checking here to detect corrupted data before sending it throuogh .equals
-            	System.err.println("[McMMO] Bad player data file with UIID " + offlinePlayer.getUniqueId() );
+            	System.err.println("[McMMO] Player data file with UIID " + offlinePlayer.getUniqueId() + " is missing a player name. This may be a legacy file from before bukkit.lastKnownName. This should be okay to ignore.");
             	continue; //Don't let an error here interrupt the loop
             	continue; //Don't let an error here interrupt the loop
             }
             }