mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Updated all undefined constants/classes, place resent packets to the recovery queue for NACK
This commit is contained in:
@ -47,7 +47,7 @@ class DiamondOre extends Solid{
|
||||
public function getDrops(Item $item, PocketMine\Player $player){
|
||||
if($item->isPickaxe() >= 4){
|
||||
return array(
|
||||
array(DIAMOND, 0, 1),
|
||||
array(Item::DIAMOND, 0, 1),
|
||||
);
|
||||
} else{
|
||||
return array();
|
||||
|
Reference in New Issue
Block a user