EmeraldOre: fixed not dropping XP on break

This commit is contained in:
Dylan K. Taylor 2018-06-22 21:35:58 +01:00
parent 87852f2fe1
commit dd6b5902a6

View File

@ -56,4 +56,8 @@ class EmeraldOre extends Solid{
ItemFactory::get(Item::EMERALD) ItemFactory::get(Item::EMERALD)
]; ];
} }
protected function getXpDropAmount() : int{
return mt_rand(3, 7);
}
} }