[ProtoMember(2)]
public string Notes;
- [DisplayName(0, "Loc.")]
+ [DisplayName(1, "Loc.")]
+ public string PrettyLocation;
+
[ProtoMember(3)]
public BlockPos Location;
[ProtoMember(2)]
public string Notes;
- [DisplayName(0, "Loc.")]
+ [DisplayName(1, "Loc.")]
+ public string PrettyLocation;
+
[ProtoMember(3)]
public BlockPos Location;
int targetChunkY = mapChunk.YMax / chunkSize;//Surface ...
for (; targetChunkY > 0; targetChunkY--)
{
- WorldChunk chunkData = ClientAPI.World.BlockAccessor.GetChunk(key.X, targetChunkY, key.Y) as WorldChunk;
+ WorldChunk chunkData = ClientAPI.World.BlockAccessor.GetChunk(key.X, targetChunkY, key.Y) as WorldChunk;
- if (chunkData == null || chunkData.BlockEntities == null)
- {
- #if DEBUG
- Logger.VerboseDebug("Chunk null or empty X{0} Y{1} Z{2}", key.X, targetChunkY, key.Y);
- #endif
- continue;
- }
+ if (chunkData == null || chunkData.BlockEntities == null) {
+ #if DEBUG
+ Logger.VerboseDebug("Chunk null or empty X{0} Y{1} Z{2}", key.X, targetChunkY, key.Y);
+ #endif
+ nullChunkCount++;
+ continue;
+ }
/*************** Chunk Entities Scanning *********************/
if (chunkData.BlockEntities != null && chunkData.BlockEntities.Length > 0)