mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-04 09:10:17 +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) {
|
||||
if (uuid == null) {
|
||||
PS.debug("UUID cannot be null!");
|
||||
return false;
|
||||
}
|
||||
if (name == null) {
|
||||
try {
|
||||
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) {
|
||||
PS.log("&c(minor) Invalid UUID mapping: " + uuid);
|
||||
e.printStackTrace();
|
||||
|
Loading…
Reference in New Issue
Block a user