Implemented block break XP drops

This commit is contained in:
Dylan K. Taylor
2018-04-15 19:03:18 +01:00
parent 1e2122d854
commit 532269a484
9 changed files with 84 additions and 3 deletions

View File

@ -57,4 +57,7 @@ class CoalOre extends Solid{
];
}
public function getXpDropForTool(Item $item) : int{
return mt_rand(0, 2);
}
}