Fix UUID related NPE

This commit is contained in:
Sauilitired 2019-04-01 08:35:06 +02:00
parent 3be7511b7c
commit 4152582ae0
No known key found for this signature in database
GPG Key ID: C0207FF7EA146678

View File

@ -100,7 +100,7 @@ public class UUIDHandler {
if (implementation == null) {
return null;
}
if (uuid.equals(DBFunc.SERVER)) {
if (uuid != null && uuid.equals(DBFunc.SERVER)) {
return Captions.SERVER.s();
}
return implementation.getName(uuid);