1
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-06-02 10:11:27 +00:00

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

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