Another UUID conversion fix for database mode.
This commit is contained in:
1 parent
4a024b87fd
commit
8f566ce816
1 file changed
+2
-2
@@ -250,7 +250,7 @@ public class DatabaseDataStore extends DataStore
|
|||||||
|
|
||||||
String ownerName = results.getString("owner");
|
String ownerName = results.getString("owner");
|
||||||
UUID ownerID = null;
|
UUID ownerID = null;
|
||||||
if(ownerName.isEmpty())
|
if(ownerName.isEmpty() || ownerName.startsWith("--"))
|
||||||
{
|
{
|
||||||
ownerID = null; //administrative land claim or subdivision
|
ownerID = null; //administrative land claim or subdivision
|
||||||
}
|
}
|
||||||
@@ -262,7 +262,7 @@ public class DatabaseDataStore extends DataStore
|
|||||||
}
|
}
|
||||||
catch(Exception ex)
|
catch(Exception ex)
|
||||||
{
|
{
|
||||||
GriefPrevention.AddLogEntry("This owner name did not convert to aUUID: " + ownerName + ".");
|
GriefPrevention.AddLogEntry("This owner name did not convert to a UUID: " + ownerName + ".");
|
||||||
GriefPrevention.AddLogEntry(" Converted land claim to administrative @ " + lesserBoundaryCorner.toString());
|
GriefPrevention.AddLogEntry(" Converted land claim to administrative @ " + lesserBoundaryCorner.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user