diff --git a/spigot/src/main/java/net/azisaba/azipluginmessaging/spigot/protocol/SimplePacketQueue.java b/spigot/src/main/java/net/azisaba/azipluginmessaging/spigot/protocol/SimplePacketQueue.java index 52a4a35..5ec1c8f 100644 --- a/spigot/src/main/java/net/azisaba/azipluginmessaging/spigot/protocol/SimplePacketQueue.java +++ b/spigot/src/main/java/net/azisaba/azipluginmessaging/spigot/protocol/SimplePacketQueue.java @@ -26,5 +26,6 @@ public void flush(@NotNull PacketSender sender) { for (Map.Entry, ? extends Message> entry : list) { ((Protocol) entry.getKey()).sendPacket(sender, entry.getValue()); } + list.clear(); } }