Debug a player is added to the known list.

This commit is contained in:
MattBDev 2016-06-03 11:17:08 -04:00
parent b4707c94c4
commit 7dba332455

View File

@ -90,11 +90,14 @@ public abstract class UUIDHandlerImplementation {
public boolean add(final StringWrapper name, final UUID uuid) { public boolean add(final StringWrapper name, final UUID uuid) {
if (uuid == null) { if (uuid == null) {
PS.debug("UUID cannot be null!");
return false; return false;
} }
if (name == null) { if (name == null) {
try { try {
this.unknown.add(uuid); this.unknown.add(uuid);
PS.debug("UUID of: " + uuid.toString() + " was added to unknown list because the name provided was null.");
Thread.dumpStack();
} catch (Exception e) { } catch (Exception e) {
PS.log("&c(minor) Invalid UUID mapping: " + uuid); PS.log("&c(minor) Invalid UUID mapping: " + uuid);
e.printStackTrace(); e.printStackTrace();