mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Fixed handling of recipes that require a crafting table
This commit is contained in:
@ -132,4 +132,8 @@ class ShapelessRecipe implements CraftingRecipe{
|
||||
public function registerToCraftingManager(CraftingManager $manager){
|
||||
$manager->registerShapelessRecipe($this);
|
||||
}
|
||||
|
||||
public function requiresCraftingTable() : bool{
|
||||
return count($this->ingredients) > 4;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user