From 378ef7d75e895ed977ab8954b72d3d35f12a7825 Mon Sep 17 00:00:00 2001 From: dank074 Date: Wed, 15 Sep 2021 21:50:24 -0500 Subject: [PATCH] move crafting to correct position --- src/nitro/communication/NitroMessages.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/nitro/communication/NitroMessages.ts b/src/nitro/communication/NitroMessages.ts index 4fbc3c1b..1ecd5619 100644 --- a/src/nitro/communication/NitroMessages.ts +++ b/src/nitro/communication/NitroMessages.ts @@ -950,6 +950,13 @@ export class NitroMessages implements IMessageConfiguration this._composers.set(OutgoingHeader.SUBMIT_ROOM_TO_COMPETITION, SubmitRoomToCompetitionMessageComposer); this._composers.set(OutgoingHeader.VOTE_FOR_ROOM, VoteForRoomMessageComposer); + // CRAFTING + this._composers.set(OutgoingHeader.CRAFT, CraftComposer); + this._composers.set(OutgoingHeader.CRAFT_SECRET, CraftSecretComposer); + this._composers.set(OutgoingHeader.GET_CRAFTABLE_PRODUCTS, GetCraftableProductsComposer); + this._composers.set(OutgoingHeader.GET_CRAFTING_RECIPE, GetCraftingRecipeComposer); + this._composers.set(OutgoingHeader.GET_CRAFTING_RECIPES_AVAILABLE, GetCraftingRecipesAvailableComposer); + // CLIENT this._composers.set(OutgoingHeader.CLIENT_PONG, ClientPongComposer); this._composers.set(OutgoingHeader.RELEASE_VERSION, ClientReleaseVersionComposer); @@ -1259,13 +1266,6 @@ export class NitroMessages implements IMessageConfiguration this._composers.set(OutgoingHeader.REJECT_QUEST, RejectQuestMessageComposer); this._composers.set(OutgoingHeader.START_CAMPAIGN, StartCampaignMessageComposer); - // CRAFTING - this._composers.set(OutgoingHeader.CRAFT, CraftComposer); - this._composers.set(OutgoingHeader.CRAFT_SECRET, CraftSecretComposer); - this._composers.set(OutgoingHeader.GET_CRAFTABLE_PRODUCTS, GetCraftableProductsComposer); - this._composers.set(OutgoingHeader.GET_CRAFTING_RECIPE, GetCraftingRecipeComposer); - this._composers.set(OutgoingHeader.GET_CRAFTING_RECIPES_AVAILABLE, GetCraftingRecipesAvailableComposer); - // CAMERA this._composers.set(OutgoingHeader.REQUEST_CAMERA_CONFIGURATION, RequestCameraConfigurationComposer); this._composers.set(OutgoingHeader.RENDER_ROOM, RenderRoomMessageComposer);