mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 12:04:46 +00:00
Updated all undefined constants/classes, place resent packets to the recovery queue for NACK
This commit is contained in:
@@ -85,9 +85,9 @@ class Potato extends Flowable{
|
||||
public function getDrops(Item $item, PocketMine\Player $player){
|
||||
$drops = array();
|
||||
if($this->meta >= 0x07){
|
||||
$drops[] = array(POTATO, 0, mt_rand(1, 4));
|
||||
$drops[] = array(Item::POTATO, 0, mt_rand(1, 4));
|
||||
} else{
|
||||
$drops[] = array(POTATO, 0, 1);
|
||||
$drops[] = array(Item::POTATO, 0, 1);
|
||||
}
|
||||
|
||||
return $drops;
|
||||
|
Reference in New Issue
Block a user