Fix subclaims being added to chunk claims map when resized (#1082)

This commit is contained in:
Adam 2020-10-29 12:23:33 -04:00 committed by GitHub
parent 746f10449d
commit 0ceb6f8e21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -473,6 +473,9 @@ public abstract class DataStore
private void addToChunkClaimMap(Claim claim)
{
// Subclaims should not be added to chunk claim map.
if (claim.parent != null) return;
ArrayList<Long> chunkHashes = claim.getChunkHashes();
for (Long chunkHash : chunkHashes)
{