Removed Server->addRecipe()

This method is pointless extra bloat in Server. Use CraftingManager->registerRecipe() instead.
This commit is contained in:
Dylan K. Taylor 2018-02-27 12:33:32 +00:00
parent eb01dcaf60
commit ab2df8b11b

View File

@ -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);
}