CoalOre: fixed ignoring silk touch for XP drops, closes #2374

This commit is contained in:
Dylan K. Taylor 2018-08-15 13:48:29 +01:00
parent b2ca364de0
commit a604e6835e

View File

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