Fix formatting issues due to bad IDE settings

This commit is contained in:
Shoghi Cervantes
2014-12-07 16:30:04 +01:00
parent bb82e7be50
commit 747f7685e7
191 changed files with 1315 additions and 1304 deletions

View File

@ -25,38 +25,38 @@ use pocketmine\item\Item;
class MonsterSpawner extends Solid{
protected $id = self::MONSTER_SPAWNER;
protected $id = self::MONSTER_SPAWNER;
public function __construct($meta = 0){
$this->meta = $meta;
$this->meta = $meta;
}
public function getHardness(){
return 25;
}
public function getHardness(){
return 25;
}
public function getName(){
return "Monster Spawner";
}
public function getName(){
return "Monster Spawner";
}
public function getBreakTime(Item $item){
switch($item->isPickaxe()){
case 5:
return 0.95;
case 4:
return 1.25;
case 3:
return 1.9;
case 2:
return 0.65;
case 1:
return 3.75;
default:
return 25;
}
}
public function getBreakTime(Item $item){
switch($item->isPickaxe()){
case 5:
return 0.95;
case 4:
return 1.25;
case 3:
return 1.9;
case 2:
return 0.65;
case 1:
return 3.75;
default:
return 25;
}
}
public function getDrops(Item $item){
return [];
}
public function getDrops(Item $item){
return [];
}
}