Updated all undefined constants/classes, place resent packets to the recovery queue for NACK

This commit is contained in:
Shoghi Cervantes
2014-03-13 10:48:33 +01:00
parent 3c3b346fd3
commit b24120a863
80 changed files with 347 additions and 324 deletions

View File

@@ -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;