Update Stair.php to add use pocketmine\item\Tool;

Without this >= Tool::TIER_WOODEN does not work; so stone stairs do not give drops when broken. They also revert to not being broken on next connection.
This commit is contained in:
markkrueg 2015-12-27 12:44:56 -08:00
parent 78525e1f74
commit 0b42ead2ab

View File

@ -22,6 +22,7 @@
namespace pocketmine\block;
use pocketmine\item\Item;
use pocketmine\item\Tool;
use pocketmine\math\AxisAlignedBB;
use pocketmine\Player;
@ -151,4 +152,4 @@ abstract class Stair extends Transparent{
return [];
}
}
}
}