Merge branch 'master' of github.com:PocketMine/PocketMine-MP

This commit is contained in:
Shoghi Cervantes 2014-06-18 18:29:24 +02:00
commit 89a90c00fd

View File

@ -50,7 +50,7 @@ class Explosion{
private $what;
public function __construct(Position $center, $size, $what = null){
$this->level = $center->level;
$this->level = $center->getLevel();
$this->source = $center;
$this->size = max($size, 0);
$this->what = $what;