mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
fix drop chance of rotten flesh
This commit is contained in:
parent
f25255e46c
commit
3ed8855894
@ -40,7 +40,7 @@ class Zombie extends Monster{
|
||||
|
||||
public function getDrops() : array{
|
||||
$drops = [
|
||||
ItemFactory::get(ItemItem::ROTTEN_FLESH, 0, 1)
|
||||
ItemFactory::get(ItemItem::ROTTEN_FLESH, 0, mt_rand(0, 2))
|
||||
];
|
||||
|
||||
if(mt_rand(0, 199) < 5){
|
||||
|
Loading…
x
Reference in New Issue
Block a user