Deck.php, getMaterial now returns false when the material is not found