Change all references of C2SModList to C2SModListReply
@@ -157,11 +157,11 @@ public class ForgeModListSpoofer extends ToggleMod {
// remove custom handler from maps
IndexedMessageCodec_indicies.get(codec).remove(handlerIndex);
- IndexedMessageCodec_types.get(codec).remove(FMLHandshakeMessages.S2CModList.class);
+ IndexedMessageCodec_types.get(codec).remove(FMLHandshakeMessages.C2SModListReply.class);
// add back old handler
IndexedMessageCodec_indicies.get(codec).put(handlerIndex, oldMessageHandler);
- IndexedMessageCodec_types.get(codec).put(FMLHandshakeMessages.S2CModList.class, oldMessageHandler);
+ IndexedMessageCodec_types.get(codec).put(FMLHandshakeMessages.C2SModListReply.class, oldMessageHandler);
// yeet
oldMessageHandler = null;
