From 290087f1a770781f6235af6e1b5504e9e5451b67 Mon Sep 17 00:00:00 2001 From: Qrakhen Date: Thu, 4 Dec 2025 14:19:31 +0100 Subject: [PATCH] changes --- Qrakhen.Qamp.Core/Values/Value.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Qrakhen.Qamp.Core/Values/Value.cs b/Qrakhen.Qamp.Core/Values/Value.cs index abac6d0..a2a5ced 100644 --- a/Qrakhen.Qamp.Core/Values/Value.cs +++ b/Qrakhen.Qamp.Core/Values/Value.cs @@ -118,12 +118,15 @@ public readonly struct Value : IValue, ISerialize, IDebug public string ToString(bool includeType) { + if (Type == T.Void) + return $"void"; + if (!includeType) return $"{AsDynamic(false)}"; string type = Type.ToString(); if (Type.HasFlag(T.Pointer)) - type = Ptr.Value?.Type.ToString() ?? "NullPtr"; + type = Ptr.Value?.Type.ToString() ?? "ptr:null"; return $"<{type}, {AsDynamic(false) ?? "null"}>"; }