diff --git a/src/Supero/NightfallProtocol/network/caches/CustomCraftingDataCache.php b/src/Supero/NightfallProtocol/network/caches/CustomCraftingDataCache.php index f477880..6c0907f 100644 --- a/src/Supero/NightfallProtocol/network/caches/CustomCraftingDataCache.php +++ b/src/Supero/NightfallProtocol/network/caches/CustomCraftingDataCache.php @@ -106,13 +106,13 @@ private function buildCraftingDataCache(CraftingManager $manager, int $protocol) } foreach(FurnaceType::cases() as $furnaceType){ - $typeTag = match($furnaceType){ - FurnaceType::FURNACE => FurnaceRecipeBlockName::FURNACE, - FurnaceType::BLAST_FURNACE => FurnaceRecipeBlockName::BLAST_FURNACE, - FurnaceType::SMOKER => FurnaceRecipeBlockName::SMOKER, - FurnaceType::CAMPFIRE => FurnaceRecipeBlockName::CAMPFIRE, - FurnaceType::SOUL_CAMPFIRE => FurnaceRecipeBlockName::SOUL_CAMPFIRE - }; + $typeTag = match($furnaceType){ + FurnaceType::FURNACE => FurnaceRecipeBlockName::FURNACE, + FurnaceType::BLAST_FURNACE => FurnaceRecipeBlockName::BLAST_FURNACE, + FurnaceType::SMOKER => FurnaceRecipeBlockName::SMOKER, + FurnaceType::CAMPFIRE => FurnaceRecipeBlockName::CAMPFIRE, + FurnaceType::SOUL_CAMPFIRE => FurnaceRecipeBlockName::SOUL_CAMPFIRE + }; foreach($manager->getFurnaceRecipeManager($furnaceType)->getAll() as $recipe){ $input = $converter->coreRecipeIngredientToNet($recipe->getInput())->getDescriptor(); if(!$input instanceof IntIdMetaItemDescriptor){ diff --git a/src/Supero/NightfallProtocol/network/static/CustomPacketPool.php b/src/Supero/NightfallProtocol/network/static/CustomPacketPool.php index dc923c2..6729f06 100644 --- a/src/Supero/NightfallProtocol/network/static/CustomPacketPool.php +++ b/src/Supero/NightfallProtocol/network/static/CustomPacketPool.php @@ -56,7 +56,7 @@ public function __construct() parent::__construct(); $this->registerPacket(new CameraInstructionPacket()); - $this->registerPacket(new CameraPresetsPacket()); + $this->registerPacket(new CameraPresetsPacket()); $this->registerPacket(new ChangeDimensionPacket()); $this->registerPacket(new CodeBuilderSourcePacket()); $this->registerPacket(new ContainerClosePacket());