gamemode & 0x01) === 0x01){ return 0.20; } switch($item->isPickaxe()){ case 5: return 0.95; case 4: return 1.25; default: return 25; } } public function getDrops(Item $item, Player $player){ if($item->isPickaxe() >= 4){ return array( array(DIAMOND_BLOCK, 0, 1), ); }else{ return array(); } } }