mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
EmeraldOre: fixed not dropping XP on break
This commit is contained in:
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user