PhpStorm automated formatting (#11)

* PhpStorm reformatting

* Tuned PhpStorm reformatting

* Improved ItemIds and BlockIds formatting

* Tuned more PhpStorm reformatting

* Improved string concatenation
This commit is contained in:
SOFe
2016-10-03 19:05:48 +08:00
committed by GitHub
parent 2b6d058760
commit 58ff381557
77 changed files with 266 additions and 264 deletions

View File

@ -23,7 +23,7 @@ namespace pocketmine\block;
use pocketmine\item\Item;
use pocketmine\item\Tool;
class NetherBrickFence extends Transparent {
class NetherBrickFence extends Transparent{
protected $id = self::NETHER_BRICK_FENCE;
@ -32,11 +32,10 @@ class NetherBrickFence extends Transparent {
}
public function getBreakTime(Item $item){
if ($item instanceof Air){
if($item instanceof Air){
//Breaking by hand
return 10;
}
else{
}else{
// Other breaktimes are equal to woodfences.
return parent::getBreakTime($item);
}
@ -67,5 +66,5 @@ class NetherBrickFence extends Transparent {
}else{
return [];
}
}
}
}