From ab2df8b11bfcdde72156a040a4b23333c2c8c05d Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 27 Feb 2018 12:33:32 +0000 Subject: [PATCH] Removed Server->addRecipe() This method is pointless extra bloat in Server. Use CraftingManager->registerRecipe() instead. --- src/pocketmine/Server.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pocketmine/Server.php b/src/pocketmine/Server.php index fd09c6c82..f2ee3ee46 100644 --- a/src/pocketmine/Server.php +++ b/src/pocketmine/Server.php @@ -703,10 +703,6 @@ class Server{ return $this->playerList; } - public function addRecipe(Recipe $recipe){ - $this->craftingManager->registerRecipe($recipe); - } - public function shouldSavePlayerData() : bool{ return (bool) $this->getProperty("player.save-player-data", true); }