Small fixes

This commit is contained in:
Natsumi
2024-02-02 02:42:06 +13:00
parent cb35e5e50f
commit e2e907da77
3 changed files with 39 additions and 25 deletions

View File

@@ -600,10 +600,10 @@ namespace VRCX
return;
}
if (String.IsNullOrEmpty(request.Value))
if (request.Value == null)
{
logger.Warn("World {0} tried to store data under key {1} with no value provided", worldId, request.Key);
this.lastError = "`value` is missing or null";
logger.Warn("World {0} tried to store data under key {1} with null value", worldId, request.Key);
this.lastError = "`value` is null";
return;
}