some random stuff

This commit is contained in:
GameHerobrine 2025-05-10 02:25:29 +03:00
parent 62b846e673
commit a38c1c109c
5 changed files with 88 additions and 57 deletions

View file

@ -9,7 +9,7 @@ class WorkbenchBlock extends SolidBlock{
}
public function onActivate(Item $item, Player $player){
$player->toCraft[-1] = 1;
$player->craftingType = CraftingRecipes::TYPE_CRAFTIGTABLE;
return true;
}