From 575ee4a67344172a350dd9becbeabda66005c66a Mon Sep 17 00:00:00 2001 From: Adrien1106 Date: Fri, 16 Feb 2024 01:24:05 +0100 Subject: [PATCH] voxels list default capacity optimisation --- .../java/fr/adrien1106/reframed/block/ReFramedStairsBlock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/adrien1106/reframed/block/ReFramedStairsBlock.java b/src/main/java/fr/adrien1106/reframed/block/ReFramedStairsBlock.java index fd7b728..7871729 100644 --- a/src/main/java/fr/adrien1106/reframed/block/ReFramedStairsBlock.java +++ b/src/main/java/fr/adrien1106/reframed/block/ReFramedStairsBlock.java @@ -38,7 +38,7 @@ public class ReFramedStairsBlock extends WaterloggableReFramedBlock implements M public static final EnumProperty FACING = EnumProperty.of("facing", StairDirection.class); public static final EnumProperty SHAPE = EnumProperty.of("shape", StairShape.class); - private static final List VOXEL_LIST= new ArrayList<>(); + private static final List VOXEL_LIST = new ArrayList<>(52); public ReFramedStairsBlock(Settings settings) { super(settings);