Skip to content

Commit

Permalink
fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Superomarking committed Nov 21, 2024
1 parent 134ed7c commit 6021eaa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 6021eaa

Please sign in to comment.