mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-06 01:51:51 +00:00
Fixed some trailing whitespace
$ shopt -s globstar $ sed -i 's/[ \t]*$//' src/pocketmine/*/**.php :P
This commit is contained in:
parent
fb59b57bdf
commit
ecba80fd63
@ -61,7 +61,7 @@ class Location extends Position{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a Location instance
|
* Return a Location instance
|
||||||
*
|
*
|
||||||
* @return Location
|
* @return Location
|
||||||
*/
|
*/
|
||||||
public function asLocation() : Location{
|
public function asLocation() : Location{
|
||||||
|
@ -50,13 +50,13 @@ class Position extends Vector3{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a Position instance
|
* Return a Position instance
|
||||||
*
|
*
|
||||||
* @return Position
|
* @return Position
|
||||||
*/
|
*/
|
||||||
public function asPosition() : Position{
|
public function asPosition() : Position{
|
||||||
return new Position($this->x, $this->y, $this->z, $this->level);
|
return new Position($this->x, $this->y, $this->z, $this->level);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the target Level, or null if the target is not valid.
|
* Returns the target Level, or null if the target is not valid.
|
||||||
* If a reference exists to a Level which is closed, the reference will be destroyed and null will be returned.
|
* If a reference exists to a Level which is closed, the reference will be destroyed and null will be returned.
|
||||||
|
@ -163,7 +163,7 @@ class Vector3{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a Vector3 instance
|
* Return a Vector3 instance
|
||||||
*
|
*
|
||||||
* @return Vector3
|
* @return Vector3
|
||||||
*/
|
*/
|
||||||
public function asVector3() : Vector3{
|
public function asVector3() : Vector3{
|
||||||
|
@ -64,7 +64,7 @@ class Sign extends Spawnable{
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $index 0-3
|
* @param int $index 0-3
|
||||||
* @param string $line
|
* @param string $line
|
||||||
@ -79,7 +79,7 @@ class Sign extends Spawnable{
|
|||||||
$this->onChanged();
|
$this->onChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $index 0-3
|
* @param int $index 0-3
|
||||||
*
|
*
|
||||||
|
@ -29,7 +29,7 @@ class Color{
|
|||||||
|
|
||||||
/** @var int */
|
/** @var int */
|
||||||
protected $a, $r, $g, $b;
|
protected $a, $r, $g, $b;
|
||||||
|
|
||||||
public function __construct(int $r, int $g, int $b, int $a = 0xff){
|
public function __construct(int $r, int $g, int $b, int $a = 0xff){
|
||||||
$this->r = $r & 0xff;
|
$this->r = $r & 0xff;
|
||||||
$this->g = $g & 0xff;
|
$this->g = $g & 0xff;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user