🚨 Guard block requests without coordinates

This commit is contained in:
2026-11-15 22:08:32 +01:00
parent 63ca31805e
commit 992666583d
+1
View File
@@ -210,6 +210,7 @@ end;
constructor TRequestBlocksPacket.Create(ACoords: TBlockCoordsArray);
begin
inherited Create($04, 0);
if Length(ACoords) > 0 then
FStream.Write(ACoords[0], Length(ACoords) * SizeOf(TBlockCoords));
end;