OSDN Git Service

Update AutomapSystem.cs
authorThe Grand Dog <alex.h@me.com>
Mon, 27 Apr 2020 14:28:36 +0000 (10:28 -0400)
committerThe Grand Dog <alex.h@me.com>
Mon, 27 Apr 2020 14:28:36 +0000 (10:28 -0400)
forgot to commit the line that adds the ClientAPI param to the ColumnMeta constructor

Automap/Subsystems/AutomapSystem.cs

index 00692a6..8cc81d7 100644 (file)
@@ -370,7 +370,7 @@ namespace Automap
 
                private ColumnMeta CreateColumnMetadata(KeyValuePair<Vec2i, uint> mostActiveCol, IMapChunk mapChunk)
                {
-                       ColumnMeta data = new ColumnMeta(mostActiveCol.Key.Copy(), (byte) chunkSize);
+                       ColumnMeta data = new ColumnMeta(mostActiveCol.Key.Copy(), ClientAPI, (byte) chunkSize);
                        BlockPos equivBP = new BlockPos(mostActiveCol.Key.X * chunkSize,
                                                                                        mapChunk.YMax,
                                                                                        mostActiveCol.Key.Y * chunkSize);