Don't add entities to chunk on regen (#927)

Co-authored-by: NotMyFault <mc.cache@web.de>
This commit is contained in:
Hannes Greule 2021-02-22 11:11:13 +01:00 committed by GitHub
parent 51163ffc40
commit d632c642ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,6 +70,7 @@ import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.nio.file.Path;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
@ -303,6 +304,12 @@ public class Regen_v1_16_R3 extends Regenerator<IChunkAccess, ProtoChunk, Chunk,
public boolean generateFlatBedrock() {
return generateFlatBedrock;
}
// no one will ever see the entities!
@Override
public List<NBTTagCompound> y() {
return Collections.emptyList();
}
};
}