From 6587601adbcb8e58920c2a875bda7ef2c1ca5b73 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Tue, 14 Jun 2022 17:41:11 +0100 Subject: [PATCH] Make sure FragmentSendVerifyCompletePackets are constructed in the factory. --- .../lib/calmnet/packet/factory/CALMNETPacketFactory.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/captainalm/lib/calmnet/packet/factory/CALMNETPacketFactory.java b/src/com/captainalm/lib/calmnet/packet/factory/CALMNETPacketFactory.java index 3a1ec99..6dd63f1 100644 --- a/src/com/captainalm/lib/calmnet/packet/factory/CALMNETPacketFactory.java +++ b/src/com/captainalm/lib/calmnet/packet/factory/CALMNETPacketFactory.java @@ -68,6 +68,7 @@ public class CALMNETPacketFactory implements IPacketFactory { if (information.equals(FragmentRetrySendPacket.getTheProtocol())) return new FragmentRetrySendPacket(null, null); if (information.equals(FragmentSendCompletePacket.getTheProtocol())) return new FragmentSendCompletePacket(null, null); if (information.equals(FragmentSendStopPacket.getTheProtocol())) return new FragmentSendStopPacket(null); + if (information.equals(FragmentSendVerifyCompletePacket.getTheProtocol())) return new FragmentSendVerifyCompletePacket(null); return null; }