Critical arrows, fixed arrow interception calculation

This commit is contained in:
Shoghi Cervantes
2015-03-28 17:54:10 +01:00
parent 0a85ad0d1f
commit e0a6d0feab
8 changed files with 40 additions and 18 deletions

View File

@ -24,7 +24,7 @@ namespace pocketmine\level\particle;
use pocketmine\math\Vector3;
class CriticalParticle extends GenericParticle{
public function __construct(Vector3 $pos){
parent::__construct($pos, 2);
public function __construct(Vector3 $pos, $scale = 2){
parent::__construct($pos, 2, $scale);
}
}