mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-08-27 23:29:40 +02:00
Merge pull request #1271 from manuelgu/patch-1
Make debug output useful
This commit is contained in:
commit
b1ee223b0a
|
@ -164,7 +164,7 @@ public class FileUUIDHandler extends UUIDHandlerImplementation {
|
|||
ByteSource is = com.google.common.io.Files.asByteSource(file);
|
||||
NbtFactory.NbtCompound compound = NbtFactory.fromStream(is, NbtFactory.StreamOptions.GZIP_COMPRESSION);
|
||||
if (!compound.containsKey("bukkit")) {
|
||||
PS.debug("ERROR: Player data does not contain the the key \"bukkit\"");
|
||||
PS.debug("ERROR: Player data (" + uuid.toString() + ".dat) does not contain the the key \"bukkit\"");
|
||||
} else {
|
||||
NbtFactory.NbtCompound bukkit = (NbtFactory.NbtCompound) compound.get("bukkit");
|
||||
String name = (String) bukkit.get("lastKnownName");
|
||||
|
|
Loading…
Reference in New Issue
Block a user