mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Debug a player is added to the known list.
This commit is contained in:
parent
b4707c94c4
commit
7dba332455
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user