mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Implemented block break XP drops
This commit is contained in:
@ -70,4 +70,8 @@ class RedstoneOre extends Solid{
|
||||
ItemFactory::get(Item::REDSTONE_DUST, 0, mt_rand(4, 5))
|
||||
];
|
||||
}
|
||||
|
||||
protected function getXpDropAmount() : int{
|
||||
return mt_rand(1, 5);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user