mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +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 Location
|
||||
*/
|
||||
public function asLocation() : Location{
|
||||
|
@ -50,13 +50,13 @@ class Position extends Vector3{
|
||||
|
||||
/**
|
||||
* Return a Position instance
|
||||
*
|
||||
*
|
||||
* @return Position
|
||||
*/
|
||||
public function asPosition() : Position{
|
||||
return new Position($this->x, $this->y, $this->z, $this->level);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 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.
|
||||
|
@ -163,7 +163,7 @@ class Vector3{
|
||||
|
||||
/**
|
||||
* Return a Vector3 instance
|
||||
*
|
||||
*
|
||||
* @return Vector3
|
||||
*/
|
||||
public function asVector3() : Vector3{
|
||||
|
@ -64,7 +64,7 @@ class Sign extends Spawnable{
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param int $index 0-3
|
||||
* @param string $line
|
||||
@ -79,7 +79,7 @@ class Sign extends Spawnable{
|
||||
$this->onChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param int $index 0-3
|
||||
*
|
||||
|
@ -29,7 +29,7 @@ class Color{
|
||||
|
||||
/** @var int */
|
||||
protected $a, $r, $g, $b;
|
||||
|
||||
|
||||
public function __construct(int $r, int $g, int $b, int $a = 0xff){
|
||||
$this->r = $r & 0xff;
|
||||
$this->g = $g & 0xff;
|
||||
|
Loading…
x
Reference in New Issue
Block a user