mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-17 08:54:22 +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;
|
return $this->playerList;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addRecipe(Recipe $recipe){
|
|
||||||
$this->craftingManager->registerRecipe($recipe);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function shouldSavePlayerData() : bool{
|
public function shouldSavePlayerData() : bool{
|
||||||
return (bool) $this->getProperty("player.save-player-data", true);
|
return (bool) $this->getProperty("player.save-player-data", true);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user