Print what the cached file said

This commit is contained in:
libraryaddict 2022-03-03 16:49:25 +13:00
parent 53b7e29171
commit 3c650ffac2

View File

@ -807,9 +807,9 @@ public class DisguiseUtilities {
return new Disguise[0]; return new Disguise[0];
} }
try { String cached = null;
String cached;
try {
try (FileInputStream input = new FileInputStream(disguiseFile); try (FileInputStream input = new FileInputStream(disguiseFile);
InputStreamReader inputReader = new InputStreamReader(input, StandardCharsets.UTF_8); InputStreamReader inputReader = new InputStreamReader(input, StandardCharsets.UTF_8);
BufferedReader reader = new BufferedReader(inputReader)) { BufferedReader reader = new BufferedReader(inputReader)) {
@ -850,7 +850,7 @@ public class DisguiseUtilities {
return disguises; return disguises;
} catch (Throwable e) { } catch (Throwable e) {
getLogger().severe("Malformed disguise for " + entityUUID); getLogger().severe("Malformed disguise for " + entityUUID + "(" + cached + ")");
e.printStackTrace(); e.printStackTrace();
} }