mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Removed Server->addRecipe()
This method is pointless extra bloat in Server. Use CraftingManager->registerRecipe() instead.
This commit is contained in:
parent
eb01dcaf60
commit
ab2df8b11b
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user