mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
EmeraldOre: fixed not dropping XP on break
This commit is contained in:
parent
87852f2fe1
commit
dd6b5902a6
@ -56,4 +56,8 @@ class EmeraldOre extends Solid{
|
||||
ItemFactory::get(Item::EMERALD)
|
||||
];
|
||||
}
|
||||
|
||||
protected function getXpDropAmount() : int{
|
||||
return mt_rand(3, 7);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user