@@ -30,7 +30,7 @@ public class PacketPlayOutMapChunk implements Packet<PacketListenerPlayOut> {
// Paper end
// Paper start
- private final java.util.List<Packet> extraPackets = new java.util.ArrayList<>();
+ private final java.util.List<Packet> extraPackets = new net.yatopia.server.list.GlueList<>(); // Yatopia
private static final int TE_LIMIT = Integer.getInteger("tuinity.excessive-te-limit", 750); // Tuinity - handle oversized chunk data packets more robustly
private static final int TE_SPLIT_LIMIT = Math.max(4096 + 1, Integer.getInteger("tuinity.te-split-limit", 15_000)); // Tuinity - handle oversized chunk data packets more robustly
private boolean mustSplit; // Tuinity - handle oversized chunk data packets more robustly
@@ -55,7 +55,7 @@ public class PacketPlayOutMapChunk implements Packet<PacketListenerPlayOut> {
Iterator iterator; // Tuinity - move declaration up
Entry entry; // Tuinity - move delcaration up
// Paper end
- this.g = Lists.newArrayList();
+ this.g = new net.yatopia.server.list.GlueList<>(); // Yatopia