Added Loom blocks

these don't support doing patterns yet, but their inventories work.
This commit is contained in:
Dylan K. Taylor
2021-04-29 19:51:09 +01:00
parent b33bf1f433
commit 593a8ac529
8 changed files with 115 additions and 2 deletions

View File

@ -277,6 +277,7 @@ class InGamePacketHandler extends PacketHandler{
if($isCraftingPart){
if($this->craftingTransaction === null){
//TODO: this might not be crafting if there is a special inventory open (anvil, enchanting, loom etc)
$this->craftingTransaction = new CraftingTransaction($this->player, $this->player->getServer()->getCraftingManager(), $actions);
}else{
foreach($actions as $action){