From 083ace7eb1ee86fe55f1d489c770b85281938d43 Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Wed, 30 Aug 2023 12:54:37 +0300 Subject: [PATCH] stone with different meta will drop itself --- src/material/block/solid/StoneBlock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/block/solid/StoneBlock.php b/src/material/block/solid/StoneBlock.php index 71c9d46d..cf0f6e4c 100644 --- a/src/material/block/solid/StoneBlock.php +++ b/src/material/block/solid/StoneBlock.php @@ -40,7 +40,7 @@ class StoneBlock extends SolidBlock{ public function getDrops(Item $item, Player $player){ if($item->getPickaxeLevel() >= 1){ return array( - array(COBBLESTONE, 0, 1), + array($this->meta == 0 ? COBBLESTONE : $this->id, $this->meta, 1), ); }else{ return array();