Replace ChunkWrapper LinkedList with ArrayList
This commit is contained in:
+2
-2
@@ -71,7 +71,7 @@ public class ChunkWrapper implements IChunkWrapper
|
||||
private final byte[] blockLightArray;
|
||||
private final byte[] skyLightArray;
|
||||
|
||||
private LinkedList<DhBlockPos> blockLightPosList = null;
|
||||
private ArrayList<DhBlockPos> blockLightPosList = null;
|
||||
|
||||
private boolean useDhLighting;
|
||||
|
||||
@@ -314,7 +314,7 @@ public class ChunkWrapper implements IChunkWrapper
|
||||
// only populate the list once
|
||||
if (this.blockLightPosList == null)
|
||||
{
|
||||
this.blockLightPosList = new LinkedList<>();
|
||||
this.blockLightPosList = new ArrayList<>();
|
||||
|
||||
|
||||
#if PRE_MC_1_20_1
|
||||
|
||||
Reference in New Issue
Block a user