Supply more information with a MapBlock

This commit is contained in:
Casper Warden
2020-01-05 00:30:13 +00:00
parent 3982d67b7d
commit f145498abd
4 changed files with 12 additions and 3 deletions

View File

@@ -226,6 +226,10 @@ export class GridCommands extends CommandsBase
mapBlock.name = Utils.BufferToStringSimple(data.Name);
mapBlock.accessFlags = data.Access;
mapBlock.mapImage = data.MapImageID;
mapBlock.x = data.X;
mapBlock.y = data.Y
mapBlock.waterHeight = data.WaterHeight;
mapBlock.regionFlags = data.RegionFlags;
response.regions.push(mapBlock);
}
});