mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Implemented block break XP drops
This commit is contained in:
@ -57,4 +57,7 @@ class CoalOre extends Solid{
|
||||
];
|
||||
}
|
||||
|
||||
public function getXpDropForTool(Item $item) : int{
|
||||
return mt_rand(0, 2);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user