diff --git a/src/lib/nbt.cpp b/src/lib/nbt.cpp index a10b13a..d33e25c 100644 --- a/src/lib/nbt.cpp +++ b/src/lib/nbt.cpp @@ -364,7 +364,7 @@ namespace NBT { if(exportedString.isError){ return ErrorOrVoid(true, ErrorCodes::OVERRUN); } - *destination = exportedString.value; + destination->insert(destination->end(), exportedString.value.begin(), exportedString.value.end()); return ErrorOrVoid(); }